ehcache

Package net.sf.ehcache.management

This package contains JMX MBeans and implementations for management of ehcache.

See:
          Description

Interface Summary
CacheConfigurationMBean A JMX MBean interface for the configuration of a cache
CacheManagerMBean An MBean interface for those attributes and operations we wish to expose on net.sf.ehcache.CacheManager
CacheMBean A management bean for a cache
CacheStatisticsMBean  
ManagedCacheManagerPeerProvider A CacheManagerPeerProvider that supports MBean registration
ManagementServer Interface implemented by management servers.
 

Class Summary
Cache A JMX MBean implementation for Cache
CacheConfiguration A JMX MBean implementation and decorator to net.sf.ehcache.CacheConfiguration
CacheManager An MBean implementation for those attributes and operations we wish to expose on net.sf.ehcache.CacheManager.
CacheStatistics A JMX CacheStatistics decorator for an ehcache Statistics class.
DevModeClassLoader Classloader used for devmode to load management classes Substitutes for ResourceClassLoader
ManagementServerLoader ManagementServerLoader is a facility class to access the rest management interface One would use it form EhCache or QuartzScheduler to start or stop a new rest management interface or to simply register a cache or a scheduler to an already started management interface.
ManagementService Ehcache CacheManagers and Caches have lifecycles.
ResourceClassLoader ResourceClassLoader can load classes nested in a subdirectory of a jar Example : ehcache.jar!/net/sf/ehcache/CacheManager is in the "normal" classpath and will be loaded by any typical classloader ehcache.jar!/subdirectory/net/sf/ehcache/CacheManager can only be loaded by the ResourceClassLoader, with prefix "subdirectory" Assumes classes under prefix directory to have ending .clazz
Store Wrapper class for store specific dynamic mbeans.
 

Package net.sf.ehcache.management Description

This package contains JMX MBeans and implementations for management of ehcache.

This implementation attempts to follow Sun's JMX best practices. See http://java.sun.com/javase/technologies/core/mntr-mgmt/javamanagement/best-practices.jsp

JMX was packaged with Java in JDK1.5. Keeping all JMX stuff in this package prevents leakage of JMX concepts so that JMX does not become a required dependency for ehcache.

The package also enables a separation of concerns so that management does not get mixed with the implementation.

The client API is exposed through the ManagementService. Use ManagementService.registerMBeans(...) to register a selection of MBeans to the MBeanServer provided to the method.


ehcache

Copyright 2001-2014, Terracotta, Inc.