| Package | Description |
|---|---|
| com.h3c.sdn.adm.json |
Implementations of Core Services JSON factory and associated codecs.
|
| com.h3c.sdn.adm.metric |
Definitions of services pertaining to the SDN core controller metering
framework.
|
| com.h3c.sdn.metric |
Fundamental classes for the SDN core controller metering framework,
including the classes for various metric types that may be obtained from
the framework.
|
| Modifier and Type | Method and Description |
|---|---|
TimeStampedTimer |
TimerMetricCodec.decode(com.fasterxml.jackson.databind.node.ObjectNode node) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.node.ObjectNode |
TimerMetricCodec.encode(TimeStampedTimer pojo) |
| Modifier and Type | Method and Description |
|---|---|
TimeStampedTimer |
MetricService.createTimer(TimerDescriptor descriptor)
Returns a new
TimeStampedTimer object based upon the provided
TimerDescriptor. |
| Modifier and Type | Method and Description |
|---|---|
TimeStampedTimer |
MetricRegistry.timeStampedTimer(TimerDescriptor descriptor)
Creates a new
TimeStampedTimer and registers it using the given
TimerDescriptor. |
TimeStampedTimer |
MetricRegistry.timeStampedTimer(TimerDescriptor descriptor,
String uid)
Creates a new
TimeStampedTimer and registers it with the MetricRegistry using the given TimerDescriptor and UID. |
| Modifier and Type | Method and Description |
|---|---|
SortedMap<MetricDescriptor,TimeStampedTimer> |
MetricRegistry.getTimers()
Returns a map of all
TimeStampedTimers from the registry, along
with their MetricDescriptors. |
SortedMap<MetricDescriptor,TimeStampedTimer> |
MetricRegistry.getTimers(MetricFilter filter)
Returns a map of
TimeStampedTimers from the registry that match
the given MetricFilter, along with their MetricDescriptors. |
| Modifier and Type | Method and Description |
|---|---|
void |
MetricRegistryListener.onTimerAdded(TimeStampedTimer added)
Called when a
TimeStampedTimer is added to the MetricRegistry. |
void |
MetricRegistryListener.onTimerRemoved(TimeStampedTimer removed)
Called when a
TimeStampedTimer is removed from the MetricRegistry. |
Copyright © 2014. All Rights Reserved.