|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.auxiliary.lateral.socket.tcp.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(ITCPLateralCacheAttributes lca,
ICompositeCacheManager cacheMgr)
Returns the UDP Discovery service associated with this instance. |
UDPDiscoveryService |
getService(java.lang.String discoveryAddress,
int discoveryPort,
int servicePort,
ICompositeCacheManager cacheMgr)
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(ITCPLateralCacheAttributes lca, ICompositeCacheManager cacheMgr)
lca
- ITCPLateralCacheAttributescacheMgr
-
public UDPDiscoveryService getService(java.lang.String discoveryAddress, int discoveryPort, int servicePort, ICompositeCacheManager cacheMgr)
TODO we may need to key this using the listener port too
discoveryAddress
- discoveryPort
- servicePort
- cacheMgr
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |