public interface CacheStoreMBean extends ConfigurationMBean
Modifier and Type | Field and Description |
---|---|
static String |
NONE |
static String |
WRITE_BEHIND |
static String |
WRITE_THROUGH |
DEFAULT_EMPTY_BYTE_ARRAY
Modifier and Type | Method and Description |
---|---|
int |
getBufferMaxSize()
Sets the upper limit for the store buffer
that's used to write out updates to the store.
|
int |
getBufferWriteAttempts()
Sets the number of attempts that the
user thread will make to write to the store buffer.
|
long |
getBufferWriteTimeout()
Sets the time in milliseconds that the
user thread will wait before aborting an attempt to write to the buffer.
|
String |
getCustomStore()
The cache store to be used for store backed caches
|
int |
getStoreBatchSize()
Sets the number of user updates that are
picked up from the store buffer to write back to the backing store
|
String |
getWorkManager()
Sets the work manager that schedules
the thread that writes to the backing store asynchronously
|
String |
getWritePolicy() |
boolean |
isBufferMaxSizeSet() |
boolean |
isBufferWriteAttemptsSet() |
boolean |
isBufferWriteTimeoutSet() |
boolean |
isCustomStoreSet() |
boolean |
isStoreBatchSizeSet() |
boolean |
isWorkManagerSet() |
boolean |
isWritePolicySet() |
void |
setBufferMaxSize(int capacity) |
void |
setBufferWriteAttempts(int attempts) |
void |
setBufferWriteTimeout(long timeout) |
void |
setCustomStore(String customStoreClassName) |
void |
setStoreBatchSize(int size) |
void |
setWorkManager(String workManagerName) |
void |
setWritePolicy(String policy) |
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
static final String NONE
static final String WRITE_THROUGH
static final String WRITE_BEHIND
String getCustomStore()
void setCustomStore(String customStoreClassName)
boolean isCustomStoreSet()
String getWritePolicy()
void setWritePolicy(String policy)
boolean isWritePolicySet()
String getWorkManager()
void setWorkManager(String workManagerName)
boolean isWorkManagerSet()
int getBufferMaxSize()
void setBufferMaxSize(int capacity)
boolean isBufferMaxSizeSet()
long getBufferWriteTimeout()
void setBufferWriteTimeout(long timeout)
boolean isBufferWriteTimeoutSet()
int getBufferWriteAttempts()
void setBufferWriteAttempts(int attempts)
boolean isBufferWriteAttemptsSet()
int getStoreBatchSize()
void setStoreBatchSize(int size)
boolean isStoreBatchSizeSet()