ehcache

Uses of Class
net.sf.ehcache.config.Configuration

Packages that use Configuration
net.sf.ehcache This package contains the public API for using ehcache. 
net.sf.ehcache.config This package contains the cache configuration code. 
net.sf.ehcache.config.generator This package contains utility classes for generating configuration texts. 
net.sf.ehcache.config.generator.model.elements This package contains utility classes encapsulating ideas of Elements and Attributes from the ehcache.xsd 
net.sf.ehcache.management.provider This package contains classes related to MBeanRegistrationProvider and its implementation. 
net.sf.ehcache.terracotta This package contains the Terracotta integration functionalities. 
 

Uses of Configuration in net.sf.ehcache
 

Methods in net.sf.ehcache that return Configuration
 Configuration CacheManager.getConfiguration()
          Get the CacheManager configuration
 

Methods in net.sf.ehcache with parameters of type Configuration
static CacheManager CacheManager.create(Configuration config)
          A factory method to create a singleton CacheManager from a net.sf.ehcache.config.Configuration.
protected  void CacheManager.init(Configuration initialConfiguration, String configurationFileName, URL configurationURL, InputStream configurationInputStream)
          initialises the CacheManager
static CacheManager CacheManager.newInstance(Configuration config)
          A factory method to create a CacheManager from a net.sf.ehcache.config.Configuration.
 

Constructors in net.sf.ehcache with parameters of type Configuration
CacheManager(Configuration configuration)
          An constructor for CacheManager, which takes a configuration object, rather than one created by parsing an ehcache.xml file.
 

Uses of Configuration in net.sf.ehcache.config
 

Methods in net.sf.ehcache.config that return Configuration
 Configuration Configuration.cache(CacheConfiguration cacheConfiguration)
          Builder to add a new cache through its config
 Configuration Configuration.cacheManagerEventListenerFactory(FactoryConfiguration cacheManagerEventListenerFactoryConfiguration)
          Builder to set the event lister through a factory, only one of these can be added and subsequent calls are ignored.
 Configuration Configuration.cacheManagerPeerListenerFactory(FactoryConfiguration factory)
          Builder method to add a peer listener through a factory.
 Configuration Configuration.cacheManagerPeerProviderFactory(FactoryConfiguration factory)
          Builder method to add a peer provider through a factory.
 Configuration Configuration.defaultCache(CacheConfiguration defaultCacheConfiguration)
          Builder method to set the default cache configuration, this can only be used once.
 Configuration Configuration.defaultTransactionTimeoutInSeconds(int defaultTransactionTimeoutInSeconds)
          Builder to set the default transaction timeout.
 Configuration Configuration.diskStore(DiskStoreConfiguration diskStoreConfigurationParameter)
          Builder to add a disk store to the cache manager, only one disk store can be added.
 Configuration Configuration.dynamicConfig(boolean dynamicConfig)
          Builder to set the dynamic config capability
 Configuration Configuration.RuntimeCfg.getConfiguration()
           
 Configuration ConfigurationHelper.getConfigurationBean()
           
 Configuration Configuration.managementRESTService(ManagementRESTServiceConfiguration cfg)
          Builder method to REST management capabilities to the cache manager through a dedicated configuration, this can only be used once.
 Configuration Configuration.maxBytesLocalDisk(long amount, MemoryUnit memoryUnit)
          Sets the maxOnDisk size
 Configuration Configuration.maxBytesLocalHeap(long amount, MemoryUnit memoryUnit)
          Sets the maxOnHeap size for the cache being configured
 Configuration Configuration.maxBytesLocalOffHeap(long amount, MemoryUnit memoryUnit)
          Sets the maximum size for the OffHeap tier for all the caches this CacheManagers holds.
 Configuration Configuration.monitoring(Configuration.Monitoring monitoring)
          Builder to set the monitoring approach
 Configuration Configuration.name(String name)
          Builder to set the cache manager name.
static Configuration ConfigurationFactory.parseConfiguration()
          Configures a bean from an XML file in the classpath.
static Configuration ConfigurationFactory.parseConfiguration(File file)
          Configures a bean from an XML file.
static Configuration ConfigurationFactory.parseConfiguration(InputStream inputStream)
          Configures a bean from an XML input stream.
static Configuration ConfigurationFactory.parseConfiguration(URL url)
          Configures a bean from an XML file available as an URL.
 Configuration Configuration.sizeOfPolicy(SizeOfPolicyConfiguration sizeOfPolicyConfiguration)
          Builder to set the default SizeOfPolicyConfiguration for this cache manager.
 Configuration Configuration.source(ConfigurationSource configurationSource)
          Builder to set the configuration source.
 Configuration Configuration.terracotta(TerracottaClientConfiguration terracottaConfiguration)
          Builder method to Terracotta capabilities to the cache manager through a dedicated configuration, this can only be used once.
 Configuration Configuration.transactionManagerLookup(FactoryConfiguration transactionManagerLookupParameter)
          Builder to add a transaction manager lookup class to the cache manager, only one of these can be added.
 Configuration Configuration.updateCheck(boolean updateCheck)
          Deprecated. 
 

Methods in net.sf.ehcache.config with parameters of type Configuration
 Collection<ConfigError> CacheConfiguration.validate(Configuration configuration)
          Validates the configuration
 

Constructors in net.sf.ehcache.config with parameters of type Configuration
ConfigurationHelper(CacheManager cacheManager, Configuration configuration)
          Only Constructor
 

Uses of Configuration in net.sf.ehcache.config.generator
 

Methods in net.sf.ehcache.config.generator that return Configuration
abstract  Configuration ConfigurationSource.createConfiguration()
          Abstract method used for creating a Configuration based on the source
 

Methods in net.sf.ehcache.config.generator with parameters of type Configuration
 String ConfigurationGenerator.generate(Configuration configuration, CacheConfiguration cacheConfiguration)
          Deprecated. use appropriate methods in ConfigurationUtil instead
 String ConfigurationGenerator.generate(Configuration configuration, CacheConfiguration defaultCacheConfiguration, Map<String,CacheConfiguration> cacheConfigs)
          Deprecated. use appropriate methods in ConfigurationUtil instead
static String ConfigurationUtil.generateCacheConfigurationText(Configuration configuration, CacheConfiguration cacheConfiguration)
          Generates configuration text for a CacheConfiguration
static String ConfigurationUtil.generateCacheManagerConfigurationText(Configuration configuration)
          Generates Configuration text from a Configuration
 

Uses of Configuration in net.sf.ehcache.config.generator.model.elements
 

Methods in net.sf.ehcache.config.generator.model.elements with parameters of type Configuration
static void CacheConfigurationElement.addCommonAttributesWithDefaultCache(NodeElement element, Configuration configuration, CacheConfiguration cacheConfiguration)
          Adds all attributes which are common with the "defaultCache" element in ehcache.xsd
 

Constructors in net.sf.ehcache.config.generator.model.elements with parameters of type Configuration
CacheConfigurationElement(NodeElement parent, Configuration configuration, CacheConfiguration cacheConfiguration)
          Constructor accepting the parent and the CacheConfiguration
ConfigurationElement(Configuration configuration)
          Constructor accepting the Configuration.
DefaultCacheConfigurationElement(NodeElement parent, Configuration configuration, CacheConfiguration cacheConfiguration)
          Constructor accepting the parent and the CacheConfiguration
 

Uses of Configuration in net.sf.ehcache.management.provider
 

Methods in net.sf.ehcache.management.provider with parameters of type Configuration
 MBeanRegistrationProvider MBeanRegistrationProviderFactoryImpl.createMBeanRegistrationProvider(Configuration config)
          Factory Method for creating MBeanRegistrationProvider
 MBeanRegistrationProvider MBeanRegistrationProviderFactory.createMBeanRegistrationProvider(Configuration config)
          Factory Method for creating MBeanRegistrationProvider
 

Constructors in net.sf.ehcache.management.provider with parameters of type Configuration
MBeanRegistrationProviderImpl(Configuration configuration)
          Constructor accepting the Configuration
 

Uses of Configuration in net.sf.ehcache.terracotta
 

Methods in net.sf.ehcache.terracotta with parameters of type Configuration
 void ClusteredInstanceFactoryWrapper.linkClusteredCacheManager(String cacheManagerName, Configuration configuration)
           
 void ClusteredInstanceFactory.linkClusteredCacheManager(String cacheManagerName, Configuration configuration)
          Links this cache manager to the cluster
 


ehcache

Copyright 2001-2016, Terracotta, Inc.