ehcache

net.sf.ehcache.constructs.nonstop
Interface NonstopActiveDelegateHolder


public interface NonstopActiveDelegateHolder

Interface for resolving the active TerracottaStore, nonstop Executor Service, underlying CacheLockProvider, all of which can change on rejoin

Author:
Abhishek Sanoujam

Method Summary
 CacheEventListener getCacheEventReplicator()
          Returns the cache event replicator
 NonstopExecutorService getNonstopExecutorService()
          Returns the current underlying NonstopExecutorService
 NonstopStore getNonstopStore()
          Returns the nonstop store
 CacheLockProvider getUnderlyingCacheLockProvider()
          Returns the current underlying CacheLockProvider
 TerracottaStore getUnderlyingTerracottaStore()
          Returns the current underlying TerracottaStore
 void terracottaStoreInitialized(TerracottaStore newTerracottaStore)
          TerracottaStore got initialized again on rejoin
 

Method Detail

terracottaStoreInitialized

void terracottaStoreInitialized(TerracottaStore newTerracottaStore)
TerracottaStore got initialized again on rejoin

Parameters:
newTerracottaStore -

getUnderlyingTerracottaStore

TerracottaStore getUnderlyingTerracottaStore()
Returns the current underlying TerracottaStore

Returns:
the current underlying TerracottaStore

getNonstopExecutorService

NonstopExecutorService getNonstopExecutorService()
Returns the current underlying NonstopExecutorService

Returns:
the current underlying NonstopExecutorService

getUnderlyingCacheLockProvider

CacheLockProvider getUnderlyingCacheLockProvider()
Returns the current underlying CacheLockProvider

Returns:
the current underlying CacheLockProvider

getNonstopStore

NonstopStore getNonstopStore()
Returns the nonstop store

Returns:
the nonstop store

getCacheEventReplicator

CacheEventListener getCacheEventReplicator()
Returns the cache event replicator

Returns:
the cache event replicator

ehcache

Copyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.