public class AsyncStoreConfig extends AbstractDecoratorConfigurationBean
Modifier and Type | Field and Description |
---|---|
protected Boolean |
enabled |
protected Long |
flushLockTimeout |
protected Integer |
modificationQueueSize |
protected Long |
shutdownTimeout |
protected Integer |
threadPoolSize |
cr
overriddenConfigurationElements
Constructor and Description |
---|
AsyncStoreConfig() |
Modifier and Type | Method and Description |
---|---|
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() |
Integer |
getModificationQueueSize() |
Long |
getShutdownTimeout() |
Integer |
getThreadPoolSize() |
Boolean |
isEnabled() |
AsyncStoreConfig |
modificationQueueSize(Integer modificationQueueSize) |
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 |
setModificationQueueSize(Integer modificationQueueSize)
Deprecated.
|
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.
|
asyncStore, build, fetchPersistentState, getAsyncStoreConfig, getCacheLoaderClassName, getClassLoader, getPurgerThreads, getSingletonStoreConfig, ignoreModifications, isFetchPersistentState, isIgnoreModifications, isPurgeOnStartup, isPurgeSynchronously, purgeOnStartup, purgerThreads, purgeSynchronously, setAsyncStoreConfig, setCacheLoaderClassName, setCacheStoreConfig, setFetchPersistentState, setIgnoreModifications, setPurgeOnStartup, setPurgeSynchronously, setSingletonStoreConfig, singletonStore
hasComponentStarted, inject
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall
protected Boolean enabled
protected Integer threadPoolSize
protected Integer modificationQueueSize
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 Integer getModificationQueueSize()
public AsyncStoreConfig modificationQueueSize(Integer modificationQueueSize)
@Deprecated public void setModificationQueueSize(Integer modificationQueueSize)
modificationQueueSize
- The size of the modification queuepublic AsyncStoreConfig clone()
clone
in interface CloneableConfigurationComponent
clone
in interface CacheLoaderConfig
clone
in class AbstractDecoratorConfigurationBean
public void accept(ConfigurationBeanVisitor v)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.