@Deprecated public class UDPDiscoverySenderThread extends Object implements Runnable
| Constructor and Description |
|---|
UDPDiscoverySenderThread(UDPDiscoveryAttributes attributes,
ArrayList<String> cacheNames)
Deprecated.
Constructs the sender with the port to tell others to connect to.
|
| Modifier and Type | Method and Description |
|---|---|
protected ArrayList<String> |
getCacheNames()
Deprecated.
|
void |
run()
Deprecated.
Send a message.
|
protected void |
setCacheNames(ArrayList<String> cacheNames)
Deprecated.
|
protected void |
shutdown()
Deprecated.
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.protected void setCacheNames(ArrayList<String> cacheNames)
cacheNames - The cacheNames to set.protected ArrayList<String> getCacheNames()
protected void shutdown()
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.