org.ehcache.management
Interface Query<T>

All Known Subinterfaces:
CallQuery<T>, StatisticQuery

public interface Query<T>


Method Summary
 ResultSet<T> execute()
           
 java.lang.String getCapabilityName()
           
 java.util.Collection<org.terracotta.management.context.Context> getContexts()
           
 

Method Detail

getCapabilityName

java.lang.String getCapabilityName()
Returns:
The capability name used for this query

getContexts

java.util.Collection<org.terracotta.management.context.Context> getContexts()
Returns:
The list of context targeted by this query

execute

ResultSet<T> execute()
Returns:
The list of results of this query against all contexts, in the same order and same position of the getContexts() list