com.bigdata.counters.query
Class CounterSetBTreeSelector
java.lang.Object
com.bigdata.counters.query.CounterSetBTreeSelector
- All Implemented Interfaces:
- ICounterSelector
public class CounterSetBTreeSelector
- extends Object
- implements ICounterSelector
Reads the relevant performance counter data from the store.
- Version:
- $Id: CounterSetBTreeSelector.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
|
Field Summary |
protected static org.apache.log4j.Logger |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.log4j.Logger log
CounterSetBTreeSelector
public CounterSetBTreeSelector(CounterSetBTree btree)
- Parameters:
btree - The CounterSetBTree.
selectCounters
public ICounter[] selectCounters(int depth,
Pattern pattern,
long fromTime,
long toTime,
PeriodEnum period)
- Description copied from interface:
ICounterSelector
- Selects and returns a collection of performance counters with history.
- Specified by:
selectCounters in interface ICounterSelector
- Parameters:
depth - When non-ZERO, this specifies a constraint on the maximum
depth for a counter may can be selected.pattern - A regular expression which must be satisified (optional).fromTime - The inclusive lower bound in milliseconds of the performance
counter timestamps which will be selected.toTime - The exclusive upper bound in milliseconds of the performance
counter timestamps which will be selected.period - The unit of aggregation for the selected performance counters.
- Returns:
- The selected performance counters.
Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.