public class AsyncStoreConfiguration extends java.lang.Object implements ConfigurationInfo
| Modifier and Type | Field and Description |
|---|---|
static AttributeDefinition<java.lang.Boolean> |
ENABLED |
static AttributeDefinition<java.lang.Boolean> |
FAIL_SILENTLY |
static AttributeDefinition<java.lang.Integer> |
MODIFICATION_QUEUE_SIZE |
static AttributeDefinition<java.lang.Integer> |
THREAD_POOL_SIZE |
| Modifier and Type | Method and Description |
|---|---|
AttributeSet |
attributes() |
boolean |
enabled()
If true, all modifications to this cache store happen asynchronously, on a separate thread.
|
boolean |
equals(java.lang.Object obj) |
boolean |
failSilently() |
long |
flushLockTimeout()
Deprecated.
|
AsyncStoreConfiguration |
flushLockTimeout(long l)
Deprecated.
|
ElementDefinition |
getElementDefinition() |
int |
hashCode() |
int |
modificationQueueSize()
Sets the size of the modification queue for the async store.
|
long |
shutdownTimeout()
Deprecated.
|
AsyncStoreConfiguration |
shutdownTimeout(long l)
Deprecated.
|
int |
threadPoolSize()
Size of the thread pool whose threads are responsible for applying the modifications.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitsubElementspublic static final AttributeDefinition<java.lang.Boolean> ENABLED
public static final AttributeDefinition<java.lang.Integer> MODIFICATION_QUEUE_SIZE
public static final AttributeDefinition<java.lang.Integer> THREAD_POOL_SIZE
public static final AttributeDefinition<java.lang.Boolean> FAIL_SILENTLY
public ElementDefinition getElementDefinition()
getElementDefinition in interface BaseConfigurationInfoElementDefinition of the configuration.public boolean enabled()
@Deprecated public long flushLockTimeout()
@Deprecated public AsyncStoreConfiguration flushLockTimeout(long l)
public int modificationQueueSize()
@Deprecated public long shutdownTimeout()
@Deprecated public AsyncStoreConfiguration shutdownTimeout(long l)
public int threadPoolSize()
public boolean failSilently()
public AttributeSet attributes()
attributes in interface BaseConfigurationInfoAttributeSet declared by the configuration.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object