|
||||||||||
| 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.decorators.AbstractDecoratorConfigurationBean
org.infinispan.loaders.decorators.AsyncStoreConfig
public class AsyncStoreConfig
Configuration for the async cache loader. If enabled, this provides you with asynchronous writes to the cache store, giving you 'write-behind' caching.
| Field Summary | |
|---|---|
protected Boolean |
enabled
|
protected Long |
flushLockTimeout
|
protected Long |
shutdownTimeout
|
protected Integer |
threadPoolSize
|
| Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean |
|---|
cr |
| Fields inherited from class org.infinispan.config.AbstractConfigurationBean |
|---|
overriddenConfigurationElements |
| Constructor Summary | |
|---|---|
AsyncStoreConfig()
|
|
| Method Summary | |
|---|---|
void |
accept(ConfigurationBeanVisitor v)
|
AsyncStoreConfig |
clone()
|
AsyncStoreConfig |
flushLockTimeout(Long stateLockTimeout)
Timeout to acquire the lock which guards the state to be flushed to the cache store periodically. |
Long |
getFlushLockTimeout()
|
Long |
getShutdownTimeout()
|
Integer |
getThreadPoolSize()
|
Boolean |
isEnabled()
|
void |
setEnabled(Boolean enabled)
Deprecated. The visibility of this method will be reduced in favour of more fluent writer method calls. |
AsyncStoreConfig |
setFlushLockTimeout(Long stateLockTimeout)
Deprecated. The visibility of this method will be reduced. Use flushLockTimeout(Long) instead. |
void |
setShutdownTimeout(Long shutdownTimeout)
Deprecated. The visibility of this method will be reduced. Use shutdownTimeout(Long) instead. |
void |
setThreadPoolSize(Integer threadPoolSize)
Deprecated. The visibility of this method will be reduced. Use threadPoolSize(Integer) instead. |
AsyncStoreConfig |
shutdownTimeout(Long shutdownTimeout)
Timeout to stop the cache store. |
AsyncStoreConfig |
threadPoolSize(Integer threadPoolSize)
Size of the thread pool whose threads are responsible for applying the modifications. |
| 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 |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Boolean enabled
protected Integer threadPoolSize
@Dynamic protected Long flushLockTimeout
@Dynamic protected Long shutdownTimeout
| Constructor Detail |
|---|
public AsyncStoreConfig()
| Method Detail |
|---|
public Boolean isEnabled()
@Deprecated public void setEnabled(Boolean enabled)
enabled - public Integer getThreadPoolSize()
@Deprecated public void setThreadPoolSize(Integer threadPoolSize)
threadPoolSize(Integer) instead.
threadPoolSize - public AsyncStoreConfig threadPoolSize(Integer threadPoolSize)
threadPoolSize - public Long getFlushLockTimeout()
@Deprecated public AsyncStoreConfig setFlushLockTimeout(Long stateLockTimeout)
flushLockTimeout(Long) instead.
stateLockTimeout - public AsyncStoreConfig flushLockTimeout(Long stateLockTimeout)
stateLockTimeout - public Long getShutdownTimeout()
@Deprecated public void setShutdownTimeout(Long shutdownTimeout)
shutdownTimeout(Long) instead.
shutdownTimeout - public AsyncStoreConfig shutdownTimeout(Long shutdownTimeout)
shutdownTimeout - public AsyncStoreConfig clone()
clone in interface CloneableConfigurationComponentclone in interface CacheLoaderConfigclone in class AbstractDecoratorConfigurationBeanpublic void accept(ConfigurationBeanVisitor v)
|
--> | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||