org.jboss.cache.config
Class CacheLoaderConfig.IndividualCacheLoaderConfig
java.lang.Object
org.jboss.cache.config.ConfigurationComponent
org.jboss.cache.config.PluggableConfigurationComponent
org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig
- All Implemented Interfaces:
- Serializable, Cloneable, CloneableConfigurationComponent
- Direct Known Subclasses:
- AdjListJDBCCacheLoaderConfig, AsyncCacheLoaderConfig, BdbjeCacheLoaderConfig, ClusteredCacheLoaderConfig, FileCacheLoaderConfig, JdbmCacheLoaderConfig, LocalDelegatingCacheLoaderConfig, S3LoaderConfig, TcpDelegatingCacheLoaderConfig
- Enclosing class:
- CacheLoaderConfig
public static class CacheLoaderConfig.IndividualCacheLoaderConfig
- extends PluggableConfigurationComponent
Configuration object that holds the confguration of an individual cache loader.
- Author:
- Manik Surtani (manik AT jboss DOT org), Galder Zamarreno
- See Also:
- Serialized Form
CacheLoaderConfig.IndividualCacheLoaderConfig
public CacheLoaderConfig.IndividualCacheLoaderConfig()
populateFromBaseConfig
protected void populateFromBaseConfig(CacheLoaderConfig.IndividualCacheLoaderConfig base)
isPurgeOnStartup
public boolean isPurgeOnStartup()
isFetchPersistentState
public boolean isFetchPersistentState()
setFetchPersistentState
public void setFetchPersistentState(boolean fetchPersistentState)
setAsync
public void setAsync(boolean async)
isAsync
public boolean isAsync()
setIgnoreModifications
public void setIgnoreModifications(boolean ignoreModifications)
isIgnoreModifications
public boolean isIgnoreModifications()
setPurgeOnStartup
public void setPurgeOnStartup(boolean purgeOnStartup)
getSingletonStoreConfig
public CacheLoaderConfig.IndividualCacheLoaderConfig.SingletonStoreConfig getSingletonStoreConfig()
setSingletonStoreConfig
public void setSingletonStoreConfig(CacheLoaderConfig.IndividualCacheLoaderConfig.SingletonStoreConfig singletonStoreConfig)
getCacheLoader
public CacheLoader getCacheLoader()
- Provides the ability to get and set a running cache loader, which, if exists, will be used rather than
constructing a new one. Primarily to facilitate testing with mock objects.
- Returns:
- cache loader, if one exists
- Since:
- 2.1.0
setCacheLoader
public void setCacheLoader(CacheLoader cacheLoader)
- Provides the ability to get and set a running cache loader, which, if exists, will be used rather than
constructing a new one. Primarily to facilitate testing with mock objects.
- Parameters:
cacheLoader
- cacheLoader to set- Since:
- 2.1.0
equals
public boolean equals(Object obj)
- Overrides:
equals
in class PluggableConfigurationComponent
equalsExcludingProperties
protected boolean equalsExcludingProperties(Object obj)
hashCode
public int hashCode()
- Overrides:
hashCode
in class PluggableConfigurationComponent
hashCodeExcludingProperties
protected int hashCodeExcludingProperties()
toString
public String toString()
- Overrides:
toString
in class PluggableConfigurationComponent
clone
public CacheLoaderConfig.IndividualCacheLoaderConfig clone()
throws CloneNotSupportedException
- Specified by:
clone
in interface CloneableConfigurationComponent
- Overrides:
clone
in class PluggableConfigurationComponent
- Throws:
CloneNotSupportedException
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.