| 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 |
|---|---|
TimeStampedGauge |
GaugeMetricCodec.decode(com.fasterxml.jackson.databind.node.ObjectNode node) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.node.ObjectNode |
GaugeMetricCodec.encode(TimeStampedGauge pojo) |
| Modifier and Type | Method and Description |
|---|---|
TimeStampedGauge |
MetricService.createGauge(GaugeDescriptor descriptor)
Returns a new
TimeStampedGauge object based upon the provided
GaugeDescriptor. |
| Modifier and Type | Method and Description |
|---|---|
TimeStampedGauge |
MetricRegistry.timeStampedGauge(GaugeDescriptor descriptor)
Creates a new
TimeStampedGauge and registers it using the given
GaugeDescriptor. |
TimeStampedGauge |
MetricRegistry.timeStampedGauge(GaugeDescriptor descriptor,
String uid)
Creates a new
TimeStampedGauge and registers it with the MetricRegistry using the given GaugeDescriptor and UID. |
| Modifier and Type | Method and Description |
|---|---|
SortedMap<MetricDescriptor,TimeStampedGauge> |
MetricRegistry.getGauges()
Returns a map of all
TimeStampedGauges from the registry, along
with their MetricDescriptors. |
SortedMap<MetricDescriptor,TimeStampedGauge> |
MetricRegistry.getGauges(MetricFilter filter)
Returns a map of
TimeStampedGauges from the registry that match
the given MetricFilter, along with their MetricDescriptors. |
| Modifier and Type | Method and Description |
|---|---|
void |
MetricRegistryListener.onGaugeAdded(TimeStampedGauge added)
Called when a
TimeStampedGauge is added to the MetricRegistry. |
void |
MetricRegistryListener.onGaugeRemoved(TimeStampedGauge removed)
Called when a
TimeStampedGauge is removed from the MetricRegistry. |
Copyright © 2014. All Rights Reserved.