org.infinispan.loader
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.loader.AbstractCacheStoreConfig
All Implemented Interfaces:
Serializable, Cloneable, CloneableConfigurationComponent, CacheLoaderConfig, CacheStoreConfig
Direct Known Subclasses:
BdbjeCacheStoreConfig, JdbcMixedCacheStoreConfig, LockSupportCacheStoreConfig

public class AbstractCacheStoreConfig
extends PluggableConfigurationComponent
implements CacheStoreConfig

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

Since:
4.0
Version:
$Id: AbstractCacheStoreConfig.java 97 2009-04-08 00:43:27Z manik.surtani@jboss.com $
Author:
Mircea.Markus@jboss.com
See Also:
Serialized Form

Field Summary
protected  String 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
 AbstractCacheStoreConfig clone()
           
 boolean equals(Object obj)
           
protected  boolean equalsExcludingProperties(Object obj)
           
 AsyncStoreConfig getAsyncStoreConfig()
           
 String getCacheLoaderClassName()
           
 SingletonStoreConfig getSingletonStoreConfig()
           
 int hashCode()
           
protected  int hashCodeExcludingProperties()
           
 boolean isFetchPersistentState()
           
 boolean isIgnoreModifications()
           
 boolean isPurgeOnStartup()
           
 boolean isPurgeSynchronously()
           
 void setAsyncStoreConfig(AsyncStoreConfig asyncStoreConfig)
           
 void setCacheLoaderClassName(String className)
           
 void setFetchPersistentState(boolean fetchPersistentState)
           
 void setIgnoreModifications(boolean ignoreModifications)
           
 void setPurgeOnStartup(boolean purgeOnStartup)
           
 void setPurgeSynchronously(boolean purgeSynchronously)
           
 void setSingletonStoreConfig(SingletonStoreConfig singletonStoreConfig)
           
 String toString()
           
 
Methods inherited from class org.infinispan.config.PluggableConfigurationComponent
getProperties, setProperties, setProperties
 
Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
hasComponentStarted
 
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
 

Field Detail

cacheLoaderClassName

protected String cacheLoaderClassName
Constructor Detail

AbstractCacheStoreConfig

public AbstractCacheStoreConfig()
Method Detail

isPurgeSynchronously

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

setPurgeSynchronously

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

getCacheLoaderClassName

public String getCacheLoaderClassName()
Specified by:
getCacheLoaderClassName in interface CacheLoaderConfig

setCacheLoaderClassName

public void setCacheLoaderClassName(String className)
Specified by:
setCacheLoaderClassName in interface CacheLoaderConfig

isPurgeOnStartup

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

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

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

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 PluggableConfigurationComponent


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