|
||||||||||
| 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 CacheStoreConfigpublic SingletonStoreConfig singletonStore()
singletonStore in interface CacheStoreConfigpublic Boolean isPurgeSynchronously()
isPurgeSynchronously in interface CacheStoreConfigpublic Integer getPurgerThreads()
getPurgerThreads in interface CacheStoreConfigpublic TypedProperties getTypedProperties()
public void setTypedProperties(TypedProperties tp)
public void setPurgeSynchronously(Boolean purgeSynchronously)
setPurgeSynchronously in interface CacheStoreConfigpurgeSynchronously - public CacheStoreConfig purgeSynchronously(Boolean purgeSynchronously)
purgeSynchronously in interface CacheStoreConfigpurgeSynchronously - @Deprecated public void setPurgerThreads(Integer purgerThreads)
purgerThreads(Integer) instead
purgerThreads - public CacheStoreConfig purgerThreads(Integer purgerThreads)
purgerThreads in interface CacheStoreConfigpublic Boolean isFetchPersistentState()
isFetchPersistentState in interface CacheStoreConfigpublic void setFetchPersistentState(Boolean fetchPersistentState)
setFetchPersistentState in interface CacheStoreConfigfetchPersistentState - public CacheStoreConfig fetchPersistentState(Boolean fetchPersistentState)
fetchPersistentState in interface CacheStoreConfigfetchPersistentState - public void setIgnoreModifications(Boolean ignoreModifications)
setIgnoreModifications in interface CacheStoreConfigignoreModifications - public CacheStoreConfig ignoreModifications(Boolean ignoreModifications)
ignoreModifications in interface CacheStoreConfigignoreModifications - public Boolean isIgnoreModifications()
isIgnoreModifications in interface CacheStoreConfigpublic Boolean isPurgeOnStartup()
isPurgeOnStartup in interface CacheStoreConfigpublic CacheStoreConfig purgeOnStartup(Boolean purgeOnStartup)
purgeOnStartup in interface CacheStoreConfigpurgeOnStartup - public void setPurgeOnStartup(Boolean purgeOnStartup)
setPurgeOnStartup in interface CacheStoreConfigpurgeOnStartup - public SingletonStoreConfig getSingletonStoreConfig()
getSingletonStoreConfig in interface CacheStoreConfigpublic void setSingletonStoreConfig(SingletonStoreConfig singletonStoreConfig)
setSingletonStoreConfig in interface CacheStoreConfigpublic AsyncStoreConfig getAsyncStoreConfig()
getAsyncStoreConfig in interface CacheStoreConfigpublic void setAsyncStoreConfig(AsyncStoreConfig asyncStoreConfig)
setAsyncStoreConfig in interface CacheStoreConfigpublic void accept(ConfigurationBeanVisitor v)
accept in interface CacheLoaderConfigaccept in class AbstractCacheLoaderConfigpublic boolean equals(Object obj)
equals in class Objectprotected boolean equalsExcludingProperties(Object obj)
public int hashCode()
hashCode in class Objectprotected int hashCodeExcludingProperties()
public String toString()
toString in class Objectpublic AbstractCacheStoreConfig clone()
clone in interface CloneableConfigurationComponentclone in interface CacheLoaderConfigclone in class AbstractCacheLoaderConfig
|
--> | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||