org.terracotta.management.registry
Interface QueryBuilder<B,T>

All Known Subinterfaces:
CallQuery.Builder<T>, StatisticQuery.Builder
All Known Implementing Classes:
DefaultCallQueryBuilder, DefaultStatisticQueryBuilder

public interface QueryBuilder<B,T>

Author:
Mathieu Carbou

Method Summary
 T build()
           
 B on(Collection<? extends Context> contexts)
          Adds some contexts to run this query against.
 B on(Context context)
          Adds a context to run this query against
 

Method Detail

on

B on(Context context)
Adds a context to run this query against

Parameters:
context - The management registry context
Returns:
this builder

on

B on(Collection<? extends 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()


Copyright © 2016. All Rights Reserved.