Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.management.configuration
Interface CacheStoreMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean

public interface CacheStoreMBean
extends ConfigurationMBean


Field Summary
static String NONE
           
static String WRITE_BEHIND
           
static String WRITE_THROUGH
           
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 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)
           
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 

Field Detail

NONE

static final String NONE
See Also:
Constant Field Values

WRITE_THROUGH

static final String WRITE_THROUGH
See Also:
Constant Field Values

WRITE_BEHIND

static final String WRITE_BEHIND
See Also:
Constant Field Values
Method Detail

getCustomStore

String getCustomStore()
The cache store to be used for store backed caches


setCustomStore

void setCustomStore(String customStoreClassName)

isCustomStoreSet

boolean isCustomStoreSet()

getWritePolicy

String getWritePolicy()
Valid Values:
CacheStoreMBean.NONE, CacheStoreMBean.WRITE_THROUGH, CacheStoreMBean.WRITE_BEHIND

setWritePolicy

void setWritePolicy(String policy)

isWritePolicySet

boolean isWritePolicySet()

getWorkManager

String getWorkManager()
Sets the work manager that schedules the thread that writes to the backing store asynchronously

This method can NOT set a null value.

setWorkManager

void setWorkManager(String workManagerName)

isWorkManagerSet

boolean isWorkManagerSet()

getBufferMaxSize

int getBufferMaxSize()
Sets the upper limit for the store buffer that's used to write out updates to the store. A value of 0 indicates no limit

Default Value:
100
Minimum Value:
1

setBufferMaxSize

void setBufferMaxSize(int capacity)

isBufferMaxSizeSet

boolean isBufferMaxSizeSet()

getBufferWriteTimeout

long getBufferWriteTimeout()
Sets the time in milliseconds that the user thread will wait before aborting an attempt to write to the buffer. The attempt to write to the store buffer fails only in case the buffer is full. After the timeout, futher attempts may be made to write to the buffer based on the value of StoreBufferWriteAttempts

Default Value:
100l
Minimum Value:
1

setBufferWriteTimeout

void setBufferWriteTimeout(long timeout)

isBufferWriteTimeoutSet

boolean isBufferWriteTimeoutSet()

getBufferWriteAttempts

int getBufferWriteAttempts()
Sets the number of attempts that the user thread will make to write to the store buffer.

Default Value:
1
Minimum Value:
1

setBufferWriteAttempts

void setBufferWriteAttempts(int attempts)

isBufferWriteAttemptsSet

boolean isBufferWriteAttemptsSet()

getStoreBatchSize

int getStoreBatchSize()
Sets the number of user updates that are picked up from the store buffer to write back to the backing store

Default Value:
1
Minimum Value:
1

setStoreBatchSize

void setStoreBatchSize(int size)

isStoreBatchSizeSet

boolean isStoreBatchSizeSet()

Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02