public interface ProvidesCounters
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getCounterGroups()
Method getCounterGroups returns all the available counter group names.
|
Collection<String> |
getCountersFor(Class<? extends Enum> group)
Method getCountersFor returns all the counter names for the counter Enum.
|
Collection<String> |
getCountersFor(String group)
Method getCountersFor returns all the counter names for the give group name.
|
long |
getCounterValue(Enum counter)
Method getCounter returns the current value for the given counter Enum.
|
long |
getCounterValue(String group,
String counter)
Method getCounter returns the current value for the given group and counter.
|
long |
getLastSuccessfulCounterFetchTime()
Method getLastSuccessfulCounterFetchTime returns the time, in millis, the last moment counters
were successfully retrieved.
|
long getLastSuccessfulCounterFetchTime()
CascadingStats.getFinishedTime()
it is likely the
counter service became unavailable.Collection<String> getCounterGroups()
Collection<String> getCountersFor(String group)
group
- Collection<String> getCountersFor(Class<? extends Enum> group)
group
- long getCounterValue(Enum counter)
counter
- of type Enumlong getCounterValue(String group, String counter)
group
- of type Stringcounter
- of type StringCopyright © 2007-2015 Concurrent, Inc. All Rights Reserved.