Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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
abstract  int getBufferMaxSize()
          Sets the upper limit for the store buffer that's used to write out updates to the store.
abstract  int getBufferWriteAttempts()
          Sets the number of attempts that the user thread will make to write to the store buffer.
abstract  long getBufferWriteTimeout()
          Sets the time in milliseconds that the user thread will wait before aborting an attempt to write to the buffer.
abstract  String getCustomStore()
          The cache store to be used for store backed caches
abstract  int getStoreBatchSize()
          Sets the number of user updates that are picked up from the store buffer to write back to the backing store
abstract  String getWorkManager()
          Sets the work manager that schedules the thread that writes to the backing store asynchronously
abstract  String getWritePolicy()
           
abstract  boolean isBufferMaxSizeSet()
           
abstract  boolean isBufferWriteAttemptsSet()
           
abstract  boolean isBufferWriteTimeoutSet()
           
abstract  boolean isCustomStoreSet()
           
abstract  boolean isStoreBatchSizeSet()
           
abstract  boolean isWorkManagerSet()
           
abstract  boolean isWritePolicySet()
           
abstract  void setBufferMaxSize(int capacity)
           
abstract  void setBufferWriteAttempts(int attempts)
           
abstract  void setBufferWriteTimeout(long timeout)
           
abstract  void setCustomStore(String customStoreClassName)
           
abstract  void setStoreBatchSize(int size)
           
abstract  void setWorkManager(String workManagerName)
           
abstract  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()

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

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

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

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.

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

setStoreBatchSize

void setStoreBatchSize(int size)

isStoreBatchSizeSet

boolean isStoreBatchSizeSet()

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09