private static class Cache.NonstopActiveDelegateHolderImpl extends java.lang.Object implements NonstopActiveDelegateHolder
Modifier and Type | Field and Description |
---|---|
private Cache |
cache |
private CacheEventListener |
cacheEventReplicator |
private boolean |
nodeBulkLoadEnabled |
private NonstopExecutorService |
nonstopExecutorService |
private NonstopStoreImpl |
nonstopStore |
private CacheLockProvider |
underlyingCacheLockProvider |
private TerracottaStore |
underlyingTerracottaStore |
Constructor and Description |
---|
NonstopActiveDelegateHolderImpl(Cache cache) |
Modifier and Type | Method and Description |
---|---|
CacheEventListener |
getCacheEventReplicator()
Returns the cache event replicator
|
NonstopExecutorService |
getNonstopExecutorService()
Returns the current underlying NonstopExecutorService
|
RejoinAwareNonstopStore |
getNonstopStore()
Returns the nonstop store
|
CacheLockProvider |
getUnderlyingCacheLockProvider()
Returns the current underlying
CacheLockProvider |
TerracottaStore |
getUnderlyingTerracottaStore()
Returns the current underlying
TerracottaStore |
private void |
initializeNonstopStore() |
void |
nodeBulkLoadChanged(boolean enabled) |
void |
terracottaStoreInitialized(TerracottaStore newTerracottaStore)
TerracottaStore got initialized again on rejoin |
private final Cache cache
private volatile NonstopStoreImpl nonstopStore
private volatile TerracottaStore underlyingTerracottaStore
private volatile NonstopExecutorService nonstopExecutorService
private volatile CacheLockProvider underlyingCacheLockProvider
private volatile boolean nodeBulkLoadEnabled
private volatile CacheEventListener cacheEventReplicator
public NonstopActiveDelegateHolderImpl(Cache cache)
public void nodeBulkLoadChanged(boolean enabled)
public RejoinAwareNonstopStore getNonstopStore()
NonstopActiveDelegateHolder
getNonstopStore
in interface NonstopActiveDelegateHolder
private void initializeNonstopStore()
public void terracottaStoreInitialized(TerracottaStore newTerracottaStore)
NonstopActiveDelegateHolder
TerracottaStore
got initialized again on rejointerracottaStoreInitialized
in interface NonstopActiveDelegateHolder
public TerracottaStore getUnderlyingTerracottaStore()
NonstopActiveDelegateHolder
TerracottaStore
getUnderlyingTerracottaStore
in interface NonstopActiveDelegateHolder
TerracottaStore
public NonstopExecutorService getNonstopExecutorService()
NonstopActiveDelegateHolder
getNonstopExecutorService
in interface NonstopActiveDelegateHolder
public CacheLockProvider getUnderlyingCacheLockProvider()
NonstopActiveDelegateHolder
CacheLockProvider
getUnderlyingCacheLockProvider
in interface NonstopActiveDelegateHolder
CacheLockProvider
public CacheEventListener getCacheEventReplicator()
NonstopActiveDelegateHolder
getCacheEventReplicator
in interface NonstopActiveDelegateHolder