org.jboss.cache.config
Class CacheLoaderConfig.IndividualCacheLoaderConfig
java.lang.Object
org.jboss.cache.config.ConfigurationComponent
org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- AdjListJDBCCacheLoaderConfig, AsyncCacheLoaderConfig, BdbjeCacheLoaderConfig, ClusteredCacheLoaderConfig, FileCacheLoaderConfig, JdbmCacheLoaderConfig, LocalDelegatingCacheLoaderConfig, TcpDelegatingCacheLoaderConfig
- Enclosing class:
- CacheLoaderConfig
public static class CacheLoaderConfig.IndividualCacheLoaderConfig
- extends ConfigurationComponent
Configuration object that holds the confguration of an individual cache loader.
- Author:
- Manik Surtani (manik@jboss.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)
setClassName
public void setClassName(String className)
getClassName
public String getClassName()
setAsync
public void setAsync(boolean async)
isAsync
public boolean isAsync()
setIgnoreModifications
public void setIgnoreModifications(boolean ignoreModifications)
isIgnoreModifications
public boolean isIgnoreModifications()
setProperties
public void setProperties(String properties)
throws IOException
- Throws:
IOException
setProperties
public void setProperties(Properties properties)
getProperties
public Properties getProperties()
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 Object
equalsExcludingProperties
protected boolean equalsExcludingProperties(Object obj)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
hashCodeExcludingProperties
protected int hashCodeExcludingProperties()
toString
public String toString()
- Overrides:
toString
in class Object
clone
public CacheLoaderConfig.IndividualCacheLoaderConfig clone()
throws CloneNotSupportedException
- Overrides:
clone
in class ConfigurationComponent
- Throws:
CloneNotSupportedException
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.