org.ehcache.management
Interface ManagementRegistryServiceConfiguration

All Superinterfaces:
ServiceCreationConfiguration<ManagementRegistryService>
All Known Implementing Classes:
DefaultManagementRegistryConfiguration

public interface ManagementRegistryServiceConfiguration
extends ServiceCreationConfiguration<ManagementRegistryService>

Configuration interface for a ManagementRegistryService.


Method Summary
 java.lang.String getCollectorExecutorAlias()
          Gets the alias of the executor to use for asynchronous collector service tasks.
 StatisticsProviderConfiguration getConfigurationFor(java.lang.Class<? extends org.terracotta.management.registry.ManagementProvider<?>> managementProviderClass)
          Returns the configuration of a specific ManagementProvider type.
 org.terracotta.management.context.Context getContext()
          The context used to identify this cache manager
 java.lang.String getStatisticsExecutorAlias()
          Gets the alias of the executor to use for asynchronous statistics tasks.
 
Methods inherited from interface org.ehcache.spi.service.ServiceCreationConfiguration
getServiceType
 

Method Detail

getContext

org.terracotta.management.context.Context getContext()
The context used to identify this cache manager


getStatisticsExecutorAlias

java.lang.String getStatisticsExecutorAlias()
Gets the alias of the executor to use for asynchronous statistics tasks.

Returns:
The static executor alias

getCollectorExecutorAlias

java.lang.String getCollectorExecutorAlias()
Gets the alias of the executor to use for asynchronous collector service tasks.

Returns:
The static colector executor alias

getConfigurationFor

StatisticsProviderConfiguration getConfigurationFor(java.lang.Class<? extends org.terracotta.management.registry.ManagementProvider<?>> managementProviderClass)
Returns the configuration of a specific ManagementProvider type.

Parameters:
managementProviderClass - The type of the class managing statistics, capabilities, actions, etc.
Returns:
The configuration class to use for this manager type