|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.utils.discovery.UDPDiscoveryManager
public class UDPDiscoveryManager
This manages UDPDiscovery Services. We should end up with one service per Lateral Cache Manager Instance. One service works for multiple regions. We don't want a connection for each region.
Method Summary | |
---|---|
static UDPDiscoveryManager |
getInstance()
Singelton |
UDPDiscoveryService |
getService(String discoveryAddress,
int discoveryPort,
int servicePort,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger)
Creates a service for the address and port if one doesn't exist already. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static UDPDiscoveryManager getInstance()
public UDPDiscoveryService getService(String discoveryAddress, int discoveryPort, int servicePort, ICompositeCacheManager cacheMgr, ICacheEventLogger cacheEventLogger)
We need to key this using the listener port too. TODO think of making one discovery service work for mutliple types of clients.
discoveryAddress
- discoveryPort
- servicePort
- cacheMgr
- cacheEventLogger
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |