wt.cache
Interface ICacheManagerClassicMBean

All Superinterfaces:
ICacheManagerMBean

public interface ICacheManagerClassicMBean
extends ICacheManagerMBean

Instrumented cache management interface

Supported API: true

Extendable: true


Field Summary
static String AVERAGE_OVERFLOW_ENTRY_AGE_LESS_THAN_THRESHOLD
          Type of notification produced when the average cache entry age drops below the configured threshold

Supported API: true
 
Method Summary
 double getAveOverflowAgeThresholdSec()
          Average overflow age threshold, in seconds, below which a notification will be emitted

Supported API: true
 String getCacheSizeProperty()
          Property defining the size of the cache

Supported API: true
 String getLoggerLevel()
          Logging level (valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF)

Supported API: true
 String getLoggerName()
          Logger name for instrumented cache

Supported API: true
 int getMinMinutesBetweenNotifications()
          Notification limit in minutes

Supported API: true
 void saveCacheConfig()
          Save cache configuration

Supported API: true
 void setAveOverflowAgeThresholdSec(double value)
          Average overflow age threshold, in seconds, below which a notification will be emmited

Supported API: true
 void setLoggerLevel(String level)
          logging level (valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF)

Supported API: true
 void setMinMinutesBetweenNotifications(int value)
          Notification limit in minutes

Supported API: true
 
Methods inherited from interface wt.cache.ICacheManagerMBean
getCacheEntryCount, getCacheHits, getCacheMisses, getCacheSize
 

Field Detail

AVERAGE_OVERFLOW_ENTRY_AGE_LESS_THAN_THRESHOLD

static final String AVERAGE_OVERFLOW_ENTRY_AGE_LESS_THAN_THRESHOLD
Type of notification produced when the average cache entry age drops below the configured threshold

Supported API: true

Method Detail

getAveOverflowAgeThresholdSec

double getAveOverflowAgeThresholdSec()
Average overflow age threshold, in seconds, below which a notification will be emitted

Supported API: true


setAveOverflowAgeThresholdSec

void setAveOverflowAgeThresholdSec(double value)
                                   throws Exception
Average overflow age threshold, in seconds, below which a notification will be emmited

Supported API: true

Throws:
Exception

getMinMinutesBetweenNotifications

int getMinMinutesBetweenNotifications()
Notification limit in minutes

Supported API: true


setMinMinutesBetweenNotifications

void setMinMinutesBetweenNotifications(int value)
Notification limit in minutes

Supported API: true


getLoggerName

String getLoggerName()
Logger name for instrumented cache

Supported API: true


getLoggerLevel

String getLoggerLevel()
Logging level (valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF)

Supported API: true


setLoggerLevel

void setLoggerLevel(String level)
logging level (valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF)

Supported API: true


saveCacheConfig

void saveCacheConfig()
Save cache configuration

Supported API: true


getCacheSizeProperty

String getCacheSizeProperty()
Property defining the size of the cache

Supported API: true