public class AsyncStoreConfiguration extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
enabled()
If true, all modifications to this cache store happen asynchronously, on a separate thread.
|
long |
flushLockTimeout()
Timeout to acquire the lock which guards the state to be flushed to the cache store
periodically.
|
AsyncStoreConfiguration |
flushLockTimeout(long l)
Timeout to acquire the lock which guards the state to be flushed to the cache store
periodically.
|
int |
modificationQueueSize()
Sets the size of the modification queue for the async store.
|
long |
shutdownTimeout()
Timeout to stop the cache store.
|
AsyncStoreConfiguration |
shutdownTimeout(long l) |
int |
threadPoolSize()
Size of the thread pool whose threads are responsible for applying the modifications.
|
String |
toString() |
public boolean enabled()
public long flushLockTimeout()
public AsyncStoreConfiguration flushLockTimeout(long l)
public int modificationQueueSize()
public long shutdownTimeout()
public AsyncStoreConfiguration shutdownTimeout(long l)
public int threadPoolSize()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.