|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ehcache.management.providers.statistics.EhcacheStatisticsProvider
public class EhcacheStatisticsProvider
| Constructor Summary | |
|---|---|
EhcacheStatisticsProvider(StatisticsProviderConfiguration statisticsProviderConfiguration,
java.util.concurrent.ScheduledExecutorService executor)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
callAction(java.util.Map<java.lang.String,java.lang.String> context,
java.lang.String methodName,
java.lang.String[] argClassNames,
java.lang.Object[] args)
Call an action, if the provider supports this. |
org.terracotta.management.capabilities.context.CapabilityContext |
capabilityContext()
Get the context that the provided capabilities need to run. |
java.util.Collection<org.terracotta.management.stats.Statistic<?>> |
collectStatistics(java.util.Map<java.lang.String,java.lang.String> context,
java.lang.String... statisticNames)
Collect statistics, if the provider supports this. |
java.util.Set<org.terracotta.management.capabilities.descriptors.Descriptor> |
descriptions()
Get the set of capability descriptors the current provider provides. |
StatisticsProviderConfiguration |
getConfiguration()
|
java.lang.Class<Ehcache> |
managedType()
The class of managed objects. |
void |
register(Ehcache ehcache)
Register an object for management in the current provider. |
void |
unregister(Ehcache ehcache)
Unregister a managed object from the current provider. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EhcacheStatisticsProvider(StatisticsProviderConfiguration statisticsProviderConfiguration,
java.util.concurrent.ScheduledExecutorService executor)
| Method Detail |
|---|
public StatisticsProviderConfiguration getConfiguration()
public void register(Ehcache ehcache)
ManagementProvider
register in interface ManagementProvider<Ehcache>ehcache - the object to manage.public void unregister(Ehcache ehcache)
ManagementProvider
unregister in interface ManagementProvider<Ehcache>ehcache - the managed object.public java.lang.Class<Ehcache> managedType()
ManagementProvider
managedType in interface ManagementProvider<Ehcache>public java.util.Set<org.terracotta.management.capabilities.descriptors.Descriptor> descriptions()
ManagementProvider
descriptions in interface ManagementProvider<Ehcache>public org.terracotta.management.capabilities.context.CapabilityContext capabilityContext()
ManagementProvider
capabilityContext in interface ManagementProvider<Ehcache>
public java.util.Collection<org.terracotta.management.stats.Statistic<?>> collectStatistics(java.util.Map<java.lang.String,java.lang.String> context,
java.lang.String... statisticNames)
ManagementProvider
collectStatistics in interface ManagementProvider<Ehcache>context - the context.statisticNames - the statistic names to collect.
public java.lang.Object callAction(java.util.Map<java.lang.String,java.lang.String> context,
java.lang.String methodName,
java.lang.String[] argClassNames,
java.lang.Object[] args)
ManagementProvider
callAction in interface ManagementProvider<Ehcache>context - the context.methodName - the method name.argClassNames - the class names of the method arguments.args - the method arguments.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||