|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ToolkitInstanceFactory
Factory used for creating Toolkit instances used for implementing clustered ehcache
| Method Summary | |
|---|---|
boolean |
destroy(String cacheManagerName,
String cacheName)
Destorys any clustered state associated with the given cache. |
String |
getFullyQualifiedCacheName(Ehcache cache)
Returns a fully qualified name for the cache |
org.terracotta.toolkit.concurrent.locks.ToolkitLock |
getLockForCache(Ehcache cache,
String lockName)
|
SerializedToolkitCache<ClusteredSoftLockIDKey,SerializedReadCommittedClusteredSoftLock> |
getOrCreateAllSoftLockMap(String cacheManagerName,
String cacheName)
|
org.terracotta.toolkit.collections.ToolkitMap<String,AsyncConfig> |
getOrCreateAsyncConfigMap()
|
org.terracotta.toolkit.collections.ToolkitMap<String,Set<String>> |
getOrCreateAsyncListNamesMap(String fullAsyncName)
|
org.terracotta.toolkit.events.ToolkitNotifier<CacheDisposalNotification> |
getOrCreateCacheDisposalNotifier(Ehcache cache)
|
org.terracotta.toolkit.events.ToolkitNotifier<CacheEventNotificationMsg> |
getOrCreateCacheEventNotifier(Ehcache cache)
Returns a ToolkitNotifier for the cachse to notify CacheEventNotificationMsg across the cluster |
org.terracotta.toolkit.collections.ToolkitMap<String,Serializable> |
getOrCreateClusteredStoreConfigMap(String cacheManagerName,
String cacheName)
|
org.terracotta.toolkit.events.ToolkitNotifier<CacheConfigChangeNotificationMsg> |
getOrCreateConfigChangeNotifier(Ehcache cache)
Returns a ToolkitNotifier for the cache for notifying CacheConfigChangeNotificationMsg across the
cluster |
org.terracotta.toolkit.collections.ToolkitMap<String,AttributeExtractor> |
getOrCreateExtractorsMap(Ehcache cache)
Returns a ToolkitCache for storing serialized extractors for the cache |
org.terracotta.toolkit.collections.ToolkitMap<SerializedReadCommittedClusteredSoftLock,Integer> |
getOrCreateNewSoftLocksSet(String cacheManagerName,
String cacheName)
|
org.terracotta.toolkit.concurrent.locks.ToolkitLock |
getOrCreateStoreLock(Ehcache cache)
Returns a ToolkitReadWriteLock for protecting the cache's store cluster wide |
org.terracotta.toolkit.internal.cache.ToolkitCacheInternal<String,Serializable> |
getOrCreateToolkitCache(Ehcache cache)
Returns the backend ToolkitCacheInternal to be used for the cache |
SerializedToolkitCache<TransactionID,Decision> |
getOrCreateTransactionCommitStateMap(String cacheManagerName)
Return the map used for storing commit state of ehcache transactions |
org.terracotta.toolkit.concurrent.locks.ToolkitReadWriteLock |
getSoftLockFreezeLock(String cacheManagerName,
String cacheName,
TransactionID transactionID,
Object key)
|
org.terracotta.toolkit.concurrent.locks.ToolkitReadWriteLock |
getSoftLockNotifierLock(String cacheManagerName,
String cacheName,
TransactionID transactionID,
Object key)
|
org.terracotta.toolkit.concurrent.locks.ToolkitLock |
getSoftLockWriteLock(String cacheManagerName,
String cacheName,
TransactionID transactionID,
Object key)
|
org.terracotta.toolkit.Toolkit |
getToolkit()
Returns the toolkit associated with this factory |
void |
removeNonStopConfigforCache(Ehcache cache)
|
void |
shutdown()
Shutdown |
| Method Detail |
|---|
org.terracotta.toolkit.Toolkit getToolkit()
String getFullyQualifiedCacheName(Ehcache cache)
org.terracotta.toolkit.internal.cache.ToolkitCacheInternal<String,Serializable> getOrCreateToolkitCache(Ehcache cache)
ToolkitCacheInternal to be used for the cache
org.terracotta.toolkit.events.ToolkitNotifier<CacheConfigChangeNotificationMsg> getOrCreateConfigChangeNotifier(Ehcache cache)
ToolkitNotifier for the cache for notifying CacheConfigChangeNotificationMsg across the
cluster
org.terracotta.toolkit.concurrent.locks.ToolkitLock getOrCreateStoreLock(Ehcache cache)
ToolkitReadWriteLock for protecting the cache's store cluster wide
org.terracotta.toolkit.collections.ToolkitMap<String,AsyncConfig> getOrCreateAsyncConfigMap()
org.terracotta.toolkit.collections.ToolkitMap<String,Set<String>> getOrCreateAsyncListNamesMap(String fullAsyncName)
org.terracotta.toolkit.events.ToolkitNotifier<CacheEventNotificationMsg> getOrCreateCacheEventNotifier(Ehcache cache)
ToolkitNotifier for the cachse to notify CacheEventNotificationMsg across the cluster
org.terracotta.toolkit.collections.ToolkitMap<String,AttributeExtractor> getOrCreateExtractorsMap(Ehcache cache)
ToolkitCache for storing serialized extractors for the cache
UnsupportedOperationException - if search is not supported
boolean destroy(String cacheManagerName,
String cacheName)
cacheManagerName - cacheName - void shutdown()
SerializedToolkitCache<TransactionID,Decision> getOrCreateTransactionCommitStateMap(String cacheManagerName)
SerializedToolkitCache<ClusteredSoftLockIDKey,SerializedReadCommittedClusteredSoftLock> getOrCreateAllSoftLockMap(String cacheManagerName,
String cacheName)
org.terracotta.toolkit.collections.ToolkitMap<SerializedReadCommittedClusteredSoftLock,Integer> getOrCreateNewSoftLocksSet(String cacheManagerName,
String cacheName)
org.terracotta.toolkit.collections.ToolkitMap<String,Serializable> getOrCreateClusteredStoreConfigMap(String cacheManagerName,
String cacheName)
org.terracotta.toolkit.concurrent.locks.ToolkitLock getSoftLockWriteLock(String cacheManagerName,
String cacheName,
TransactionID transactionID,
Object key)
org.terracotta.toolkit.concurrent.locks.ToolkitReadWriteLock getSoftLockFreezeLock(String cacheManagerName,
String cacheName,
TransactionID transactionID,
Object key)
org.terracotta.toolkit.concurrent.locks.ToolkitReadWriteLock getSoftLockNotifierLock(String cacheManagerName,
String cacheName,
TransactionID transactionID,
Object key)
void removeNonStopConfigforCache(Ehcache cache)
org.terracotta.toolkit.concurrent.locks.ToolkitLock getLockForCache(Ehcache cache,
String lockName)
org.terracotta.toolkit.events.ToolkitNotifier<CacheDisposalNotification> getOrCreateCacheDisposalNotifier(Ehcache cache)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||