public class CounterSetBTreeSelector extends Object implements ICounterSelector
Constructor and Description |
---|
CounterSetBTreeSelector(CounterSetBTree btree) |
Modifier and Type | Method and Description |
---|---|
ICounter[] |
selectCounters(int depth,
Pattern pattern,
long fromTime,
long toTime,
PeriodEnum period,
boolean historyRequiredIsIgnored)
Selects and returns a collection of performance counters with history.
|
public CounterSetBTreeSelector(CounterSetBTree btree)
btree
- The CounterSetBTree
.public ICounter[] selectCounters(int depth, Pattern pattern, long fromTime, long toTime, PeriodEnum period, boolean historyRequiredIsIgnored)
ICounterSelector
selectCounters
in interface ICounterSelector
depth
- When GT 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.historyRequiredIsIgnored
- When true
the ICounter
will be ignored
unless it is associated with a HistoryInstrument
.
(This used to be the default behavior, but there are use cases
where we do not need to have history.)Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.