Package | Description |
---|---|
org.jboss.cache | |
org.jboss.cache.config | |
org.jboss.cache.eviction | |
org.jboss.cache.factories | |
org.jboss.cache.jmx |
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) |
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) |
Modifier and Type | Class and Description |
---|---|
class |
LegacyConfigurationException
Thrown when a legacy configuration XML element is passed into a modern 3.0 parser
|
class |
MissingPolicyException |
class |
OldFileFormatException
This exception indicates that an old configuration file is passed to a parser that only knows how to handle newer
configuration file.
|
class |
UnsupportedEvictionImplException
Thrown if an eviction configuration that cannot be translated to the new 3.x eviction interfaces is used.
|
Modifier and Type | Method and Description |
---|---|
void |
EvictionAlgorithmConfig.validate()
Validate the configuration.
|
void |
EvictionPolicyConfig.validate()
Deprecated.
Validate the configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
NullEvictionAlgorithmConfig.validate()
No-op
|
void |
ElementSizeAlgorithmConfig.validate()
Requires a positive maxElementsPerNode value or ConfigurationException
is thrown.
|
void |
EvictionPolicyConfigBase.validate()
Deprecated.
|
void |
FIFOAlgorithmConfig.validate()
Requires a positive maxNodes value or ConfigurationException
is thrown.
|
void |
EvictionAlgorithmConfigBase.validate() |
void |
MRUAlgorithmConfig.validate()
Requires a positive maxNodes value or ConfigurationException
is thrown.
|
void |
FIFOConfiguration.validate()
Deprecated.
Requires a positive maxNodes value or ConfigurationException
is thrown.
|
void |
LRUConfiguration.validate()
Deprecated.
Requires a positive timeToLive value or ConfigurationException
is thrown.
|
void |
ElementSizeConfiguration.validate()
Deprecated.
Requires a positive maxElementsPerNode value or ConfigurationException
is thrown.
|
void |
MRUConfiguration.validate()
Deprecated.
Requires a positive maxNodes value or ConfigurationException
is thrown.
|
void |
NullEvictionPolicyConfig.validate()
Deprecated.
No-op
|
void |
LRUAlgorithmConfig.validate()
Requires a positive timeToLive value or ConfigurationException
is thrown.
|
Modifier and Type | Method and Description |
---|---|
void |
ComponentRegistry.wireDependencies(Object target)
Wires an object instance with dependencies annotated with the
Inject annotation, creating more components
as needed based on the Configuration passed in if these additional components don't exist in the
ComponentRegistry . |
Modifier and Type | Method and Description |
---|---|
protected void |
CacheJmxWrapper.constructCache() |
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.