net.sf.ehcache.management.service
Interface EntityResourceFactoryV2


public interface EntityResourceFactoryV2

A factory interface for resources related to Ehcache.

Author:
brandony

Method Summary
 org.terracotta.management.resource.ResponseEntityV2 createCacheConfigEntities(Set<String> cacheManagerNames, Set<String> cacheNames)
          A factory method for CacheConfigEntityV2 objects.
 org.terracotta.management.resource.ResponseEntityV2 createCacheEntities(Set<String> cacheManagerNames, Set<String> cacheNames, Set<String> attributes)
          A factory method for CacheEntityV2 objects.
 org.terracotta.management.resource.ResponseEntityV2 createCacheManagerConfigEntities(Set<String> cacheManagerNames)
          A factory method for CacheManagerConfigEntityV2 objects.
 org.terracotta.management.resource.ResponseEntityV2 createCacheManagerEntities(Set<String> cacheManagerNames, Set<String> attributes)
          A factory method for CacheManagerEntityV2 objects.
 org.terracotta.management.resource.ResponseEntityV2 createCacheStatisticSampleEntity(Set<String> cacheManagerNames, Set<String> cacheNames, Set<String> statNames)
          A factory method for CacheStatisticSampleEntityV2 objects.
 

Method Detail

createCacheManagerEntities

org.terracotta.management.resource.ResponseEntityV2 createCacheManagerEntities(Set<String> cacheManagerNames,
                                                                               Set<String> attributes)
                                                                               throws org.terracotta.management.ServiceExecutionException
A factory method for CacheManagerEntityV2 objects.

Parameters:
cacheManagerNames - a Set of names for the CacheManager objects to be represented by the returned resources
attributes - a Set of specific cache manager attributes to include in the returned representations; if null, all attributes will be included
Returns:
a ResponseEntityV2 containing CacheManagerEntity objects
Throws:
org.terracotta.management.ServiceExecutionException

createCacheManagerConfigEntities

org.terracotta.management.resource.ResponseEntityV2 createCacheManagerConfigEntities(Set<String> cacheManagerNames)
                                                                                     throws org.terracotta.management.ServiceExecutionException
A factory method for CacheManagerConfigEntityV2 objects.

Parameters:
cacheManagerNames - a Set of names for the CacheManager configurations to be represented by the returned resources
Returns:
a ResponseEntityV2 containing CacheManagerConfigEntity objects
Throws:
org.terracotta.management.ServiceExecutionException

createCacheEntities

org.terracotta.management.resource.ResponseEntityV2 createCacheEntities(Set<String> cacheManagerNames,
                                                                        Set<String> cacheNames,
                                                                        Set<String> attributes)
                                                                        throws org.terracotta.management.ServiceExecutionException
A factory method for CacheEntityV2 objects.

Parameters:
cacheManagerNames - a Set of names for the CacheManagers that manage the Cache objects to be represented by the returned resources
cacheNames - a Set of names for the Cache objects to be represented by the returned resources
attributes - a Set of specific cache manager attributes to include in the returned representations; if null, all attributes will be included
Returns:
a ResponseEntityV2 containing CacheEntity objects
Throws:
org.terracotta.management.ServiceExecutionException

createCacheConfigEntities

org.terracotta.management.resource.ResponseEntityV2 createCacheConfigEntities(Set<String> cacheManagerNames,
                                                                              Set<String> cacheNames)
                                                                              throws org.terracotta.management.ServiceExecutionException
A factory method for CacheConfigEntityV2 objects.

Parameters:
cacheManagerNames - a Set of names for the CacheManagers that manage the Cache objects to be represented by the returned resources
cacheNames - a Set of names for the Cache objects to be represented by the returned resources
Returns:
a ResponseEntityV2 containing CacheConfigEntity objects
Throws:
org.terracotta.management.ServiceExecutionException

createCacheStatisticSampleEntity

org.terracotta.management.resource.ResponseEntityV2 createCacheStatisticSampleEntity(Set<String> cacheManagerNames,
                                                                                     Set<String> cacheNames,
                                                                                     Set<String> statNames)
                                                                                     throws org.terracotta.management.ServiceExecutionException
A factory method for CacheStatisticSampleEntityV2 objects.

Parameters:
cacheManagerNames - a Set of names for the CacheManagers that manage the Caches whose sampled statistics are to be represented by the returned resources
cacheNames - a Set of names for the Caches whose sampled statistics are to be represented by the returned resources
statNames - a Set of names for the sampled statistics to be represented by the returned resources
Returns:
a ResponseEntityV2 containing CacheStatisticSampleEntity objects
Throws:
org.terracotta.management.ServiceExecutionException


Copyright © 2003-2015 Terracotta, Inc.. All Rights Reserved.