Constructor and Description |
---|
UDPDiscoverySenderThread(UDPDiscoveryAttributes attributes,
ArrayList<String> cacheNames)
Constructs the sender with the port to tell others to connect to.
|
Modifier and Type | Method and Description |
---|---|
protected ArrayList<String> |
getCacheNames() |
void |
run()
Send a message.
|
protected void |
setCacheNames(ArrayList<String> cacheNames) |
protected void |
shutdown()
Issues a remove broadcast to the others.
|
public UDPDiscoverySenderThread(UDPDiscoveryAttributes attributes, ArrayList<String> cacheNames)
On construction the sender will request that the other caches let it know their addresses.
attributes
- host, port, etc.cacheNames
- List of strings of the names of the region participating.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.