public class CounterSetSelector extends Object implements ICounterSelector
|Constructor and Description|
|Modifier and Type||Method and Description|
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)
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.
ICounterwill 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.