Package | Description |
---|---|
com.hp.sdn.adm.json |
Implementations of Core Services JSON factory and associated codecs.
|
com.hp.sdn.adm.metric |
Definitions of services pertaining to the SDN core controller metering
framework.
|
com.hp.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
TimeStampedTimer s from the registry, along
with their MetricDescriptor s. |
SortedMap<MetricDescriptor,TimeStampedTimer> |
MetricRegistry.getTimers(MetricFilter filter)
Returns a map of
TimeStampedTimer s from the registry that match
the given MetricFilter , along with their MetricDescriptor s. |
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 © 2015. All Rights Reserved.