org.infinispan.config
Class CacheLoaderManagerConfig
java.lang.Object
org.infinispan.config.AbstractConfigurationBean
org.infinispan.config.AbstractNamedCacheConfigurationBean
org.infinispan.config.CacheLoaderManagerConfig
- All Implemented Interfaces:
- Serializable, Cloneable, CloneableConfigurationComponent
public class CacheLoaderManagerConfig
- extends AbstractNamedCacheConfigurationBean
Holds the configuration of the cache loader chain. ALL cache loaders should be defined using this class, adding
individual cache loaders to the chain by calling addCacheLoaderConfig(org.infinispan.loaders.CacheLoaderConfig)
Note that class CacheLoaderManagerConfig contains JAXB annotations. These annotations determine how XML
configuration files are read into instances of configuration class hierarchy as well as they
provide meta data for configuration file XML schema generation. Please modify these annotations
and Java element types they annotate with utmost understanding and care.
- Since:
- 4.0
- Author:
- Manik Surtani (manik@jboss.org), Brian Stansberry, Vladimir Blagojevic, Galder Zamarreno
- See Also:
- Serialized Form
CacheLoaderManagerConfig
public CacheLoaderManagerConfig()
setPreload
public void setPreload(boolean preload)
setPassivation
public void setPassivation(boolean passivation)
isPassivation
public boolean isPassivation()
addCacheLoaderConfig
public void addCacheLoaderConfig(CacheLoaderConfig clc)
getCacheLoaderConfigs
public List<CacheLoaderConfig> getCacheLoaderConfigs()
setCacheLoaderConfigs
public void setCacheLoaderConfigs(List<CacheLoaderConfig> configs)
getFirstCacheLoaderConfig
public CacheLoaderConfig getFirstCacheLoaderConfig()
useChainingCacheLoader
public boolean useChainingCacheLoader()
toString
public String toString()
- Overrides:
toString
in class Object
setShared
public void setShared(boolean shared)
isShared
public boolean isShared()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
clone
public CacheLoaderManagerConfig clone()
throws CloneNotSupportedException
- Specified by:
clone
in interface CloneableConfigurationComponent
- Overrides:
clone
in class AbstractNamedCacheConfigurationBean
- Throws:
CloneNotSupportedException
isFetchPersistentState
public boolean isFetchPersistentState()
- Loops through all individual cache loader configs and checks if fetchPersistentState is set on any of them
isPreload
public boolean isPreload()
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.