org.ehcache.management
Interface QueryBuilder<B,T>
- All Known Subinterfaces:
- CallQuery.Builder<T>, StatisticQuery.Builder
public interface QueryBuilder<B,T>
Method Summary |
T |
build()
|
B |
on(java.util.Collection<? extends org.terracotta.management.context.Context> contexts)
Adds some contexts to run this query against. |
B |
on(org.terracotta.management.context.Context context)
Adds a context to run this query against |
on
B on(org.terracotta.management.context.Context context)
- Adds a context to run this query against
- Parameters:
context
- The management registry context
- Returns:
- this builder
on
B on(java.util.Collection<? extends org.terracotta.management.context.Context> contexts)
- Adds some contexts to run this query against.
The order is important and kept: if teh query is ran on several contexts, then the order of results will match the order of the contexts
- Parameters:
contexts
- The management registry contexts
- Returns:
- this builder
build
T build()