org.infinispan.loaders
Class AbstractCacheStoreConfig

java.lang.Object
  extended by org.infinispan.config.AbstractConfigurationBean
      extended by org.infinispan.config.AbstractNamedCacheConfigurationBean
          extended by org.infinispan.config.PluggableConfigurationComponent
              extended by org.infinispan.loaders.AbstractCacheLoaderConfig
                  extended by org.infinispan.loaders.AbstractCacheStoreConfig
All Implemented Interfaces:
Serializable, Cloneable, CloneableConfigurationComponent, CacheLoaderConfig, CacheStoreConfig
Direct Known Subclasses:
BdbjeCacheStoreConfig, LockSupportCacheStoreConfig, RemoteCacheStoreConfig

public class AbstractCacheStoreConfig
extends AbstractCacheLoaderConfig
implements CacheStoreConfig

Configures AbstractCacheStore. This allows you to tune a number of characteristics of the AbstractCacheStore.

Note that class AbstractCacheStoreConfig 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:
Mircea.Markus@jboss.com, Vladimir Blagojevic
See Also:
Configuration reference, Serialized Form

Field Summary
protected  AsyncStoreConfig async
           
protected  Boolean fetchPersistentState
           
protected  Boolean ignoreModifications
           
protected  Boolean purgeOnStartup
           
protected  Integer purgerThreads
           
protected  Boolean purgeSynchronously
           
protected  SingletonStoreConfig singletonStore
           
 
Fields inherited from class org.infinispan.loaders.AbstractCacheLoaderConfig
cacheLoaderClassName
 
Fields inherited from class org.infinispan.config.PluggableConfigurationComponent
properties
 
Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
cr
 
Fields inherited from class org.infinispan.config.AbstractConfigurationBean
EMPTY_PROPERTIES, log, overriddenConfigurationElements
 
Constructor Summary
AbstractCacheStoreConfig()
           
 
Method Summary
 void accept(ConfigurationBeanVisitor v)
           
 AbstractCacheStoreConfig clone()
           
 boolean equals(Object obj)
           
protected  boolean equalsExcludingProperties(Object obj)
           
 AsyncStoreConfig getAsyncStoreConfig()
           
 Integer getPurgerThreads()
           
 SingletonStoreConfig getSingletonStoreConfig()
           
 int hashCode()
           
protected  int hashCodeExcludingProperties()
           
 Boolean isFetchPersistentState()
           
 Boolean isIgnoreModifications()
           
 Boolean isPurgeOnStartup()
           
 Boolean isPurgeSynchronously()
           
 void setAsyncStoreConfig(AsyncStoreConfig asyncStoreConfig)
           
 void setFetchPersistentState(Boolean fetchPersistentState)
           
 void setIgnoreModifications(Boolean ignoreModifications)
           
 void setPurgeOnStartup(Boolean purgeOnStartup)
           
 void setPurgerThreads(Integer purgerThreads)
           
 void setPurgeSynchronously(Boolean purgeSynchronously)
           
 void setSingletonStoreConfig(SingletonStoreConfig singletonStoreConfig)
           
 String toString()
           
 
Methods inherited from class org.infinispan.loaders.AbstractCacheLoaderConfig
getCacheLoaderClassName, setCacheLoaderClassName
 
Methods inherited from class org.infinispan.config.PluggableConfigurationComponent
getProperties, setProperties, setProperties
 
Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
hasComponentStarted, inject
 
Methods inherited from class org.infinispan.config.AbstractConfigurationBean
testImmutability, toTypedProperties, toTypedProperties, uc
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.infinispan.loaders.CacheLoaderConfig
getCacheLoaderClassName, setCacheLoaderClassName
 

Field Detail

ignoreModifications

protected Boolean ignoreModifications

fetchPersistentState

protected Boolean fetchPersistentState

purgeOnStartup

protected Boolean purgeOnStartup

purgeSynchronously

protected Boolean purgeSynchronously

purgerThreads

protected Integer purgerThreads

singletonStore

protected SingletonStoreConfig singletonStore

async

protected AsyncStoreConfig async
Constructor Detail

AbstractCacheStoreConfig

public AbstractCacheStoreConfig()
Method Detail

isPurgeSynchronously

public Boolean isPurgeSynchronously()
Specified by:
isPurgeSynchronously in interface CacheStoreConfig

getPurgerThreads

public Integer getPurgerThreads()

setPurgeSynchronously

public void setPurgeSynchronously(Boolean purgeSynchronously)
Specified by:
setPurgeSynchronously in interface CacheStoreConfig

setPurgerThreads

public void setPurgerThreads(Integer purgerThreads)

isFetchPersistentState

public Boolean isFetchPersistentState()
Specified by:
isFetchPersistentState in interface CacheStoreConfig

setFetchPersistentState

public void setFetchPersistentState(Boolean fetchPersistentState)
Specified by:
setFetchPersistentState in interface CacheStoreConfig

setIgnoreModifications

public void setIgnoreModifications(Boolean ignoreModifications)
Specified by:
setIgnoreModifications in interface CacheStoreConfig

isIgnoreModifications

public Boolean isIgnoreModifications()
Specified by:
isIgnoreModifications in interface CacheStoreConfig

isPurgeOnStartup

public Boolean isPurgeOnStartup()
Specified by:
isPurgeOnStartup in interface CacheStoreConfig

setPurgeOnStartup

public void setPurgeOnStartup(Boolean purgeOnStartup)
Specified by:
setPurgeOnStartup in interface CacheStoreConfig

getSingletonStoreConfig

public SingletonStoreConfig getSingletonStoreConfig()
Specified by:
getSingletonStoreConfig in interface CacheStoreConfig

setSingletonStoreConfig

public void setSingletonStoreConfig(SingletonStoreConfig singletonStoreConfig)
Specified by:
setSingletonStoreConfig in interface CacheStoreConfig

getAsyncStoreConfig

public AsyncStoreConfig getAsyncStoreConfig()
Specified by:
getAsyncStoreConfig in interface CacheStoreConfig

setAsyncStoreConfig

public void setAsyncStoreConfig(AsyncStoreConfig asyncStoreConfig)
Specified by:
setAsyncStoreConfig in interface CacheStoreConfig

accept

public void accept(ConfigurationBeanVisitor v)
Specified by:
accept in interface CacheLoaderConfig
Overrides:
accept in class AbstractCacheLoaderConfig

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 AbstractCacheStoreConfig clone()
Specified by:
clone in interface CloneableConfigurationComponent
Specified by:
clone in interface CacheLoaderConfig
Overrides:
clone in class AbstractCacheLoaderConfig

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.