|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.config.AbstractConfigurationBean
org.infinispan.config.AbstractNamedCacheConfigurationBean
org.infinispan.loaders.AbstractCacheLoaderConfig
org.infinispan.loaders.AbstractCacheStoreConfig
public class AbstractCacheStoreConfig
Configures AbstractCacheStore
. This allows you to tune a number of characteristics of the
AbstractCacheStore
.
CacheStore.purgeExpired()
calls happen synchronously or not. By
default, this is set to false.
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, properties |
Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean |
---|
cr |
Fields inherited from class org.infinispan.config.AbstractConfigurationBean |
---|
overriddenConfigurationElements |
Constructor Summary | |
---|---|
AbstractCacheStoreConfig()
|
Method Summary | |
---|---|
void |
accept(ConfigurationBeanVisitor v)
|
AsyncStoreConfig |
asyncStore()
|
AbstractCacheStoreConfig |
clone()
|
boolean |
equals(Object obj)
|
protected boolean |
equalsExcludingProperties(Object obj)
|
CacheStoreConfig |
fetchPersistentState(Boolean fetchPersistentState)
If true, fetch persistent state when joining a cluster. |
AsyncStoreConfig |
getAsyncStoreConfig()
|
Integer |
getPurgerThreads()
|
SingletonStoreConfig |
getSingletonStoreConfig()
|
TypedProperties |
getTypedProperties()
|
int |
hashCode()
|
protected int |
hashCodeExcludingProperties()
|
CacheStoreConfig |
ignoreModifications(Boolean ignoreModifications)
If true, any operation that modifies the cache (put, remove, clear, store...etc) won't be applied to the cache store. |
Boolean |
isFetchPersistentState()
|
Boolean |
isIgnoreModifications()
|
Boolean |
isPurgeOnStartup()
|
Boolean |
isPurgeSynchronously()
|
CacheStoreConfig |
purgeOnStartup(Boolean purgeOnStartup)
If true, purges this cache store when it starts up. |
CacheStoreConfig |
purgerThreads(Integer purgerThreads)
|
CacheStoreConfig |
purgeSynchronously(Boolean purgeSynchronously)
If true, CacheStore#purgeExpired() call will be done synchronously |
void |
setAsyncStoreConfig(AsyncStoreConfig asyncStoreConfig)
|
void |
setFetchPersistentState(Boolean fetchPersistentState)
If true, fetch persistent state when joining a cluster. |
void |
setIgnoreModifications(Boolean ignoreModifications)
If true, any operation that modifies the cache (put, remove, clear, store...etc) won't be applied to the cache store. |
void |
setPurgeOnStartup(Boolean purgeOnStartup)
If true, purges this cache store when it starts up. |
void |
setPurgerThreads(Integer purgerThreads)
Deprecated. use purgerThreads(Integer) instead |
void |
setPurgeSynchronously(Boolean purgeSynchronously)
If true, CacheStore#purgeExpired() call will be done synchronously |
void |
setSingletonStoreConfig(SingletonStoreConfig singletonStoreConfig)
|
void |
setTypedProperties(TypedProperties tp)
|
SingletonStoreConfig |
singletonStore()
|
String |
toString()
|
Methods inherited from class org.infinispan.loaders.AbstractCacheLoaderConfig |
---|
getCacheLoaderClassName, getClassLoader, getProperties, setCacheLoaderClassName, setProperties, setProperties |
Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean |
---|
hasComponentStarted, inject |
Methods inherited from class org.infinispan.config.AbstractConfigurationBean |
---|
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.infinispan.loaders.CacheLoaderConfig |
---|
getCacheLoaderClassName, getClassLoader, setCacheLoaderClassName |
Field Detail |
---|
protected Boolean ignoreModifications
protected Boolean fetchPersistentState
protected Boolean purgeOnStartup
protected Boolean purgeSynchronously
protected Integer purgerThreads
protected SingletonStoreConfig singletonStore
protected AsyncStoreConfig async
Constructor Detail |
---|
public AbstractCacheStoreConfig()
Method Detail |
---|
public AsyncStoreConfig asyncStore()
asyncStore
in interface CacheStoreConfig
public SingletonStoreConfig singletonStore()
singletonStore
in interface CacheStoreConfig
public Boolean isPurgeSynchronously()
isPurgeSynchronously
in interface CacheStoreConfig
public Integer getPurgerThreads()
getPurgerThreads
in interface CacheStoreConfig
public TypedProperties getTypedProperties()
public void setTypedProperties(TypedProperties tp)
public void setPurgeSynchronously(Boolean purgeSynchronously)
setPurgeSynchronously
in interface CacheStoreConfig
purgeSynchronously
- public CacheStoreConfig purgeSynchronously(Boolean purgeSynchronously)
purgeSynchronously
in interface CacheStoreConfig
purgeSynchronously
- @Deprecated public void setPurgerThreads(Integer purgerThreads)
purgerThreads(Integer)
instead
purgerThreads
- public CacheStoreConfig purgerThreads(Integer purgerThreads)
purgerThreads
in interface CacheStoreConfig
public Boolean isFetchPersistentState()
isFetchPersistentState
in interface CacheStoreConfig
public void setFetchPersistentState(Boolean fetchPersistentState)
setFetchPersistentState
in interface CacheStoreConfig
fetchPersistentState
- public CacheStoreConfig fetchPersistentState(Boolean fetchPersistentState)
fetchPersistentState
in interface CacheStoreConfig
fetchPersistentState
- public void setIgnoreModifications(Boolean ignoreModifications)
setIgnoreModifications
in interface CacheStoreConfig
ignoreModifications
- public CacheStoreConfig ignoreModifications(Boolean ignoreModifications)
ignoreModifications
in interface CacheStoreConfig
ignoreModifications
- public Boolean isIgnoreModifications()
isIgnoreModifications
in interface CacheStoreConfig
public Boolean isPurgeOnStartup()
isPurgeOnStartup
in interface CacheStoreConfig
public CacheStoreConfig purgeOnStartup(Boolean purgeOnStartup)
purgeOnStartup
in interface CacheStoreConfig
purgeOnStartup
- public void setPurgeOnStartup(Boolean purgeOnStartup)
setPurgeOnStartup
in interface CacheStoreConfig
purgeOnStartup
- public SingletonStoreConfig getSingletonStoreConfig()
getSingletonStoreConfig
in interface CacheStoreConfig
public void setSingletonStoreConfig(SingletonStoreConfig singletonStoreConfig)
setSingletonStoreConfig
in interface CacheStoreConfig
public AsyncStoreConfig getAsyncStoreConfig()
getAsyncStoreConfig
in interface CacheStoreConfig
public void setAsyncStoreConfig(AsyncStoreConfig asyncStoreConfig)
setAsyncStoreConfig
in interface CacheStoreConfig
public void accept(ConfigurationBeanVisitor v)
accept
in interface CacheLoaderConfig
accept
in class AbstractCacheLoaderConfig
public boolean equals(Object obj)
equals
in class Object
protected boolean equalsExcludingProperties(Object obj)
public int hashCode()
hashCode
in class Object
protected int hashCodeExcludingProperties()
public String toString()
toString
in class Object
public AbstractCacheStoreConfig clone()
clone
in interface CloneableConfigurationComponent
clone
in interface CacheLoaderConfig
clone
in class AbstractCacheLoaderConfig
|
--> | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |