Modifier and Type | Interface and Description |
---|---|
interface |
CacheSPI<K,V>
A more detailed interface to
Cache , which is used when writing plugins for or extending JBoss Cache. |
Modifier and Type | Method and Description |
---|---|
Cache<K,V> |
CacheFactory.createCache()
Creates and starts a
Cache instance using default configuration settings. |
Cache<K,V> |
DefaultCacheFactory.createCache() |
Cache<K,V> |
CacheFactory.createCache(boolean start)
Creates and optionally starts a
Cache instance using default configuration settings. |
Cache<K,V> |
DefaultCacheFactory.createCache(boolean start) |
protected Cache<Object,Object> |
CacheManagerImpl.createCache(Configuration config)
Extension point for subclasses, where we actually use a
CacheFactory to create a cache. |
Cache<K,V> |
CacheFactory.createCache(Configuration configuration)
Creates a
Cache instance based on a Configuration passed in. |
Cache<K,V> |
DefaultCacheFactory.createCache(Configuration configuration)
This implementation clones the configuration passed in before using it.
|
Cache<K,V> |
CacheFactory.createCache(Configuration configuration,
boolean start)
Creates
Cache instance, and optionally starts it, based on a Configuration passed in. |
Cache<K,V> |
DefaultCacheFactory.createCache(Configuration configuration,
boolean start)
This implementation clones the configuration passed in before using it.
|
Cache<K,V> |
CacheFactory.createCache(InputStream is)
Creates a
Cache instance based on an InputStream passed in, which should be a stream to a valid
XML configuration file. |
Cache<K,V> |
DefaultCacheFactory.createCache(InputStream is) |
Cache<K,V> |
CacheFactory.createCache(InputStream is,
boolean start)
Creates a
Cache instance based on an InputStream passed in, which should be a stream to a valid
XML configuration file. |
Cache<K,V> |
DefaultCacheFactory.createCache(InputStream is,
boolean start) |
Cache<K,V> |
CacheFactory.createCache(String configFileName)
Creates and starts a
Cache instance. |
Cache<K,V> |
DefaultCacheFactory.createCache(String configFileName) |
Cache<K,V> |
CacheFactory.createCache(String configFileName,
boolean start)
Creates
Cache instance, and optionally starts it. |
Cache<K,V> |
DefaultCacheFactory.createCache(String configFileName,
boolean start) |
Cache |
TreeCacheViewMBean.getCache() |
Cache<Object,Object> |
CacheManagerImpl.getCache(String configName,
boolean create) |
Cache<Object,Object> |
CacheManager.getCache(String configName,
boolean create)
Get a cache configured according to the given configuration name,
optionally instantiating the cache if it hasn't already been
instantiated.
|
Modifier and Type | Method and Description |
---|---|
void |
CacheManagerImpl.registerCache(Cache<Object,Object> cache,
String configName) |
void |
TreeCacheViewMBean.setCache(Cache cache) |
Modifier and Type | Method and Description |
---|---|
void |
RemoveOnEvictActionPolicy.setCache(Cache<?,?> cache) |
void |
EvictionActionPolicy.setCache(Cache<?,?> cache)
Sets a reference to the cache.
|
void |
DefaultEvictionActionPolicy.setCache(Cache<?,?> cache) |
Modifier and Type | Class and Description |
---|---|
class |
CacheInvocationDelegate<K,V>
The delegate that users (and ChainedInterceptor authors) interact with when they create a cache by using a cache factory.
|
Modifier and Type | Method and Description |
---|---|
Cache<K,V> |
CacheJmxWrapperMBean.getCache()
Retrieves a reference to the underlying
Cache |
Cache<K,V> |
CacheJmxWrapper.getCache() |
Modifier and Type | Method and Description |
---|---|
static String |
JmxUtil.getDefaultCacheObjectName(Cache cache)
Deprecated.
|
void |
CacheJmxWrapper.setCache(Cache<K,V> cache)
Allows direct injection of the underlying cache.
|
Constructor and Description |
---|
CacheJmxWrapper(Cache<K,V> cache) |
JmxRegistrationManager(Cache cache) |
JmxRegistrationManager(Cache cache,
ObjectName objectNameBase)
Defaults to platform to platform MBeanServer.
|
JmxRegistrationManager(MBeanServer mBeanServer,
Cache cache,
ObjectName objectNameBase)
C-tor.
|
JmxRegistrationManager(MBeanServer mBeanServer,
Cache cache,
String objectNameBase) |
Modifier and Type | Method and Description |
---|---|
Cache |
LocalDelegatingCacheLoaderConfig.getDelegate() |
Modifier and Type | Method and Description |
---|---|
void |
LocalDelegatingCacheLoaderConfig.setDelegate(Cache delegate) |
Modifier and Type | Method and Description |
---|---|
Cache |
TcpCacheServer.getCache() |
Cache |
TcpCacheServerMBean.getCache() |
Modifier and Type | Method and Description |
---|---|
Cache |
Event.getCache() |
Cache |
EventImpl.getCache() |
Modifier and Type | Method and Description |
---|---|
void |
EventImpl.setCache(Cache cache) |
Constructor and Description |
---|
EventImpl(boolean pre,
Cache cache,
NodeModifiedEvent.ModificationType modificationType,
Map data,
Fqn fqn,
Transaction transaction,
boolean originLocal,
Fqn targetFqn,
boolean successful,
org.jgroups.View newView,
Event.Type type) |
Modifier and Type | Method and Description |
---|---|
static <K,V> Map<K,V> |
Caches.asMap(Cache<K,V> cache)
Returns a
Map from the root node. |
static <K,V> Map<K,V> |
Caches.asPartitionedMap(Cache<K,V> cache)
Returns a
Map , where map entries are partitioned into child nodes,
within the cache root, by key hash code. |
static String |
CachePrinter.printCacheDetails(Cache... c)
Prints the contents of the cache (nodes + data) to a string
|
static String |
CachePrinter.printCacheLockingInfo(Cache c)
Prints the status of locks in the cache (nodes + locks) to a string
|
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.