public class LateralTCPCacheFactory extends AbstractAuxiliaryCacheFactory
The facade provides a front to the composite cache so the implementation is transparent.
Constructor and Description |
---|
LateralTCPCacheFactory() |
Modifier and Type | Method and Description |
---|---|
<K,V> LateralCacheNoWaitFacade<K,V> |
createCache(AuxiliaryCacheAttributes iaca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Creates a TCP lateral.
|
protected <K,V> LateralCacheNoWait<K,V> |
createCacheNoWait(ITCPLateralCacheAttributes lca,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer) |
void |
dispose()
Dispose of this factory, clean up shared resources
|
<K,V> ICacheServiceNonLocal<K,V> |
getCSNLInstance(ITCPLateralCacheAttributes lca)
Returns an instance of the cache service.
|
void |
initialize()
Initialize this factory
|
getName, setName
public LateralTCPCacheFactory()
public <K,V> LateralCacheNoWaitFacade<K,V> createCache(AuxiliaryCacheAttributes iaca, ICompositeCacheManager cacheMgr, ICacheEventLogger cacheEventLogger, IElementSerializer elementSerializer)
iaca
- cacheMgr
- cacheEventLogger
- elementSerializer
- protected <K,V> LateralCacheNoWait<K,V> createCacheNoWait(ITCPLateralCacheAttributes lca, ICacheEventLogger cacheEventLogger, IElementSerializer elementSerializer)
public void initialize()
initialize
in interface AuxiliaryCacheFactory
initialize
in class AbstractAuxiliaryCacheFactory
public void dispose()
dispose
in interface AuxiliaryCacheFactory
dispose
in class AbstractAuxiliaryCacheFactory
public <K,V> ICacheServiceNonLocal<K,V> getCSNLInstance(ITCPLateralCacheAttributes lca)
lca
- configuration for the creation of a new service instanceCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.