|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ehcache.management.registry.DefaultSharedManagementService
public class DefaultSharedManagementService
This service can be registered across several cache managers and provides a way to access per-cache manager management registry
Constructor Summary | |
---|---|
DefaultSharedManagementService()
|
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. |
java.util.Collection<ManagementProvider<?>> |
getManagementProvidersByCapability(java.lang.String capabilityName)
List all management providers installed for a specific capability across all cache managers |
void |
start(ServiceProvider serviceProvider)
Start this service using the provided configuration and ServiceProvider . |
void |
stop()
Stops this service. |
CapabilityManagement |
withCapability(java.lang.String capabilityName)
Query based on a capability of this management registry, such as collecting statistics or calling some actions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSharedManagementService()
Method Detail |
---|
public void start(ServiceProvider serviceProvider)
Service
ServiceProvider
.
The goal of the service provider is to allow a service to use other services.
start
in interface Service
serviceProvider
- the service provider.public void stop()
Service
stop
in interface Service
public java.util.Collection<org.terracotta.management.context.ContextContainer> getContexts()
SharedManagementService
getContexts
in interface SharedManagementService
public java.util.Map<java.lang.String,java.util.Collection<org.terracotta.management.capabilities.Capability>> getCapabilities()
SharedManagementService
getCapabilities
in interface SharedManagementService
public java.util.Collection<ManagementProvider<?>> getManagementProvidersByCapability(java.lang.String capabilityName)
CapabilityManagementSupport
getManagementProvidersByCapability
in interface CapabilityManagementSupport
capabilityName
- The capability name
public CapabilityManagement withCapability(java.lang.String capabilityName)
CapabilityManagementSupport
withCapability
in interface CapabilityManagementSupport
capabilityName
- The capability to work with
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |