net.sf.ehcache.management.service
Interface CacheManagerServiceV2


public interface CacheManagerServiceV2

An interface for service implementations providing operations on CacheManager objects.

Author:
brandony

Method Summary
 org.terracotta.management.resource.ResponseEntityV2 executeQuery(String cacheManagerName, String queryString)
          Execute query against cache manager and returns results array
 void updateCacheManager(String cacheManagerName, CacheManagerEntityV2 resource)
          Update a cache manager represented by the submitted entity.
 

Method Detail

updateCacheManager

void updateCacheManager(String cacheManagerName,
                        CacheManagerEntityV2 resource)
                        throws org.terracotta.management.ServiceExecutionException
Update a cache manager represented by the submitted entity.

Parameters:
cacheManagerName - the name of the CacheManager to be updated
resource - the representation of the resource informing this update
Throws:
org.terracotta.management.ServiceExecutionException - if the update fails

executeQuery

org.terracotta.management.resource.ResponseEntityV2 executeQuery(String cacheManagerName,
                                                                 String queryString)
                                                                 throws org.terracotta.management.ServiceExecutionException
Execute query against cache manager and returns results array

Parameters:
queryString -
Returns:
ResponseEntityV2 containing QueryResultsEntityV2 entities
Throws:
org.terracotta.management.ServiceExecutionException


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