public class CounterSetSelector extends Object implements ICounterSelector
CounterSet
.Constructor and Description |
---|
CounterSetSelector(CounterSet counterSet) |
Modifier and Type | Method and Description |
---|---|
CounterSet |
getRoot() |
ICounter[] |
selectCounters(int depth,
Pattern pattern,
long fromTime,
long toTime,
PeriodEnum period,
boolean historyRequired)
Selects and returns a collection of performance counters with history.
|
public CounterSetSelector(CounterSet counterSet)
public CounterSet getRoot()
public ICounter[] selectCounters(int depth, Pattern pattern, long fromTime, long toTime, PeriodEnum period, boolean historyRequired)
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.historyRequired
- 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.