public class CacheConfiguration extends Object implements CacheConfigurationMXBean
Constructor and Description |
---|
CacheConfiguration(CompositeKeyCache cache)
Constructs the MXBean for basic configurations of the given cache.
|
Modifier and Type | Method and Description |
---|---|
void |
disableCacheOccupationBean()
Disables the cache occupation MXBean.
|
void |
disableListeners()
Disable listeners on the cache.
|
void |
disableStatistics()
Disables the cache statistics and the corresponding MXBean.
|
void |
enableCacheOccupationBean()
Enables the cache occupation MXBean.
|
void |
enableListeners()
Enable listeners on the cache.
|
void |
enableStatistics()
Enables the cache statistics and the corresponding MXBean.
|
public CacheConfiguration(CompositeKeyCache cache)
cache
- The cache to register the MXBean forpublic void enableStatistics()
CacheConfigurationMXBean
enableStatistics
in interface CacheConfigurationMXBean
public void enableListeners()
CacheConfigurationMXBean
enableListeners
in interface CacheConfigurationMXBean
public void disableListeners()
CacheConfigurationMXBean
disableListeners
in interface CacheConfigurationMXBean
public void disableStatistics()
CacheConfigurationMXBean
disableStatistics
in interface CacheConfigurationMXBean
public void enableCacheOccupationBean()
CacheConfigurationMXBean
enableCacheOccupationBean
in interface CacheConfigurationMXBean
public void disableCacheOccupationBean()
CacheConfigurationMXBean
disableCacheOccupationBean
in interface CacheConfigurationMXBean
Copyright © 2024 levigo holding gmbh. All rights reserved.