|
||||||||||
| 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.LateralTCPDiscoveryListenerManager
public class LateralTCPDiscoveryListenerManager
The factory holds an instance of this manager. This manager has a map of listeners, keyed to the discovery configuration. I'm not using a static map, because I'm trying to make JCS multi-instance.
During configuration, the factory is only created once per auxiliary definition. Two different laterals cannot use the same discovery service. We will likely want to change this.
| Field Summary | |
|---|---|
protected Map<String,LateralTCPDiscoveryListener> |
instances
Map of available instances, keyed by port. |
| Constructor Summary | |
|---|---|
LateralTCPDiscoveryListenerManager()
Does nothing. |
|
| Method Summary | |
|---|---|
LateralTCPDiscoveryListener |
getDiscoveryListener(ITCPLateralCacheAttributes ilca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Gets the instance attribute of the LateralCacheTCPListener class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Map<String,LateralTCPDiscoveryListener> instances
| Constructor Detail |
|---|
public LateralTCPDiscoveryListenerManager()
| Method Detail |
|---|
public LateralTCPDiscoveryListener getDiscoveryListener(ITCPLateralCacheAttributes ilca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
ilca - ITCPLateralCacheAttributescacheMgr - cacheEventLogger - elementSerializer -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||