org.ehcache.management
Interface SharedManagementService
- All Superinterfaces:
- org.terracotta.management.registry.CapabilityManagementSupport, Service
- All Known Implementing Classes:
- DefaultSharedManagementService
public interface SharedManagementService
- extends org.terracotta.management.registry.CapabilityManagementSupport, Service
Special version of ManagementRegistryService
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<org.terracotta.management.context.Context,java.util.Collection<org.terracotta.management.capabilities.Capability>> |
getCapabilities()
Get the management capabilities of all the registered objects across several cache managers. |
java.util.Map<org.terracotta.management.context.Context,org.terracotta.management.context.ContextContainer> |
getContextContainers()
Get the management contexts required to make use of the
registered objects' capabilities. |
Methods inherited from interface org.terracotta.management.registry.CapabilityManagementSupport |
getManagementProvidersByCapability, withCapability |
getContextContainers
java.util.Map<org.terracotta.management.context.Context,org.terracotta.management.context.ContextContainer> getContextContainers()
- Get the management contexts required to make use of the
registered objects' capabilities.
- Returns:
- a collection of contexts.
getCapabilities
java.util.Map<org.terracotta.management.context.Context,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