|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.configuration.cache.AsyncLoaderConfiguration
public class AsyncLoaderConfiguration
Configuration for the async cache loader. If enabled, this provides you with asynchronous writes to the cache store, giving you 'write-behind' caching.
Method Summary | |
---|---|
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. |
AsyncLoaderConfiguration |
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. |
AsyncLoaderConfiguration |
shutdownTimeout(long l)
|
int |
threadPoolSize()
Size of the thread pool whose threads are responsible for applying the modifications. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public boolean enabled()
public long flushLockTimeout()
public AsyncLoaderConfiguration flushLockTimeout(long l)
public int modificationQueueSize()
public long shutdownTimeout()
public AsyncLoaderConfiguration shutdownTimeout(long l)
public int threadPoolSize()
public String toString()
toString
in class Object
|
--> | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |