org.ehcache.management
Interface StatisticQuery

All Superinterfaces:
Query<org.terracotta.management.stats.ContextualStatistics>

public interface StatisticQuery
extends Query<org.terracotta.management.stats.ContextualStatistics>


Nested Class Summary
static interface StatisticQuery.Builder
           
 
Method Summary
 long getSince()
          The query will only collect statistics computed since this time.
 java.util.Collection<java.lang.String> getStatisticNames()
           
 
Methods inherited from interface org.ehcache.management.Query
execute, getCapabilityName, getContexts
 

Method Detail

getStatisticNames

java.util.Collection<java.lang.String> getStatisticNames()
Returns:
The list of statistic queried

getSince

long getSince()
The query will only collect statistics computed since this time. This allows for example to filter out the list of returned values within some Statistic such as RateHistory

Returns:
A unix timestamp