org.terracotta.management.registry
Interface Query<T>

All Known Subinterfaces:
CallQuery<T>, StatisticQuery
All Known Implementing Classes:
DefaultCallQuery, DefaultStatisticQuery

public interface Query<T>

Author:
Mathieu Carbou

Method Summary
 ResultSet<T> execute()
           
 String getCapabilityName()
           
 Collection<Context> getContexts()
           
 

Method Detail

getCapabilityName

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

getContexts

Collection<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


Copyright © 2016. All Rights Reserved.