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 |
---|---|
TimeStampedCounter |
CounterMetricCodec.decode(com.fasterxml.jackson.databind.node.ObjectNode node) |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.node.ObjectNode |
CounterMetricCodec.encode(TimeStampedCounter pojo) |
Modifier and Type | Method and Description |
---|---|
TimeStampedCounter |
MetricService.createCounter(CounterDescriptor descriptor)
Returns a new
TimeStampedCounter object based upon the provided
CounterDescriptor . |
Modifier and Type | Method and Description |
---|---|
TimeStampedCounter |
MetricRegistry.timeStampedCounter(CounterDescriptor descriptor)
Creates a new
TimeStampedCounter and registers it using the given
CounterDescriptor . |
TimeStampedCounter |
MetricRegistry.timeStampedCounter(CounterDescriptor descriptor,
String uid)
Creates a new
TimeStampedCounter and registers it with the MetricRegistry using the given CounterDescriptor and UID. |
Modifier and Type | Method and Description |
---|---|
SortedMap<MetricDescriptor,TimeStampedCounter> |
MetricRegistry.getCounters()
Returns a map of all
TimeStampedCounter s from the registry, along
with their MetricDescriptor s. |
SortedMap<MetricDescriptor,TimeStampedCounter> |
MetricRegistry.getCounters(MetricFilter filter)
Returns a map of
TimeStampedCounter s from the registry that match
the given MetricFilter , along with their MetricDescriptor s. |
Modifier and Type | Method and Description |
---|---|
void |
MetricRegistryListener.onCounterAdded(TimeStampedCounter added)
Called when a
TimeStampedCounter is added to the MetricRegistry . |
void |
MetricRegistryListener.onCounterRemoved(TimeStampedCounter removed)
Called when a
TimeStampedCounter is removed from the MetricRegistry . |
Copyright © 2016. All Rights Reserved.