Class UDPDiscoverySenderThread
java.lang.Object
org.apache.commons.jcs3.utils.discovery.UDPDiscoverySenderThread
- All Implemented Interfaces:
Runnable
Deprecated.
Functionality moved to UDPDiscoveryService
Used to periodically broadcast our location to other caches that might be listening.
-
Constructor Summary
ConstructorsConstructorDescriptionUDPDiscoverySenderThread(UDPDiscoveryAttributes attributes, ArrayList<String> cacheNames) Deprecated.Constructs the sender with the port to tell others to connect to. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.voidrun()Deprecated.Send a message.protected voidsetCacheNames(ArrayList<String> cacheNames) Deprecated.protected voidshutdown()Deprecated.Issues a remove broadcast to the others.
-
Constructor Details
-
UDPDiscoverySenderThread
Deprecated.Constructs the sender with the port to tell others to connect to.On construction the sender will request that the other caches let it know their addresses.
- Parameters:
attributes- host, port, etc.cacheNames- List of strings of the names of the region participating.
-
-
Method Details