| 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 |
|---|---|
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
TimeStampedCounters from the registry, along
with their MetricDescriptors. |
SortedMap<MetricDescriptor,TimeStampedCounter> |
MetricRegistry.getCounters(MetricFilter filter)
Returns a map of
TimeStampedCounters from the registry that match
the given MetricFilter, along with their MetricDescriptors. |
| 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 © 2014. All Rights Reserved.