org.ehcache.management
Interface SharedManagementService
- All Superinterfaces:
- CapabilityManagementSupport, Service
- All Known Implementing Classes:
- DefaultSharedManagementService
public interface SharedManagementService
- extends CapabilityManagementSupport, Service
Special version of ManagementRegistry which can be used across several CacheManager.
This can be helpful in the case you want to access from one service all statistics, capabilities, etc of several cache managers.
|
Method Summary |
java.util.Map<java.lang.String,java.util.Collection<org.terracotta.management.capabilities.Capability>> |
getCapabilities()
Get the management capabilities of all the registered objects across several cache managers. |
java.util.Collection<org.terracotta.management.context.ContextContainer> |
getContexts()
Get the management contexts required to make use of the
registered objects' capabilities. |
getContexts
java.util.Collection<org.terracotta.management.context.ContextContainer> getContexts()
- Get the management contexts required to make use of the
registered objects' capabilities.
- Returns:
- a collection of contexts.
getCapabilities
java.util.Map<java.lang.String,java.util.Collection<org.terracotta.management.capabilities.Capability>> getCapabilities()
- Get the management capabilities of all the registered objects across several cache managers.
- Returns:
- a map of capabilities, where the key is the alias of the cache manager