public class ToolkitBackedClusteredCache extends Object implements ToolkitAwareEntity, ClusteredCache
| Constructor and Description |
|---|
ToolkitBackedClusteredCache(String cacheName,
ClusteredCacheConfiguration configuration,
String toolkitCacheName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addKeyRemoveInfo(String toolkitMapName,
String keytoBeRemoved) |
boolean |
addToolkitDSMetaInfo(org.terracotta.toolkit.ToolkitObjectType type,
String dsName) |
void |
alive() |
void |
destroy() |
ClusteredCacheConfiguration |
getConfiguration() |
String |
getName() |
long |
getSize() |
ClusteredEntityState |
getState() |
void |
markDestroyInProgress() |
void |
setToolkit(org.terracotta.toolkit.Toolkit toolkit) |
public ToolkitBackedClusteredCache(String cacheName, ClusteredCacheConfiguration configuration, String toolkitCacheName)
public ClusteredCacheConfiguration getConfiguration()
getConfiguration in interface ClusteredEntity<ClusteredCacheConfiguration>public ClusteredEntityState getState()
getState in interface ClusteredEntity<ClusteredCacheConfiguration>public void setToolkit(org.terracotta.toolkit.Toolkit toolkit)
setToolkit in interface ToolkitAwareEntitypublic String getName()
getName in interface ClusteredCachepublic long getSize()
getSize in interface ClusteredCachepublic void destroy()
public boolean addToolkitDSMetaInfo(org.terracotta.toolkit.ToolkitObjectType type,
String dsName)
public void markDestroyInProgress()
public void alive()
Copyright © 2019 Terracotta, Inc.. All rights reserved.