| 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 |
|---|---|
CounterDescriptor |
CounterDescriptorCodec.decode(com.fasterxml.jackson.databind.node.ObjectNode node) |
| Modifier and Type | Method and Description |
|---|---|
TimeStampedCounter |
MetricService.createCounter(CounterDescriptor descriptor)
Returns a new
TimeStampedCounter object based upon the provided
CounterDescriptor. |
TimeStampedMetric |
MetricProxyService.createMetric(CounterDescriptor descriptor)
Creates a new
TimeStampedCounter object based upon the provided
CounterDescriptor. |
| Modifier and Type | Method and Description |
|---|---|
CounterDescriptor |
CounterDescriptor.CounterDescriptorBuilder.build()
Build a
CounterDescriptor instance. |
CounterDescriptor |
TimeStampedCounter.getDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
TimeStampedCounter.setDescriptor(CounterDescriptor toSet)
Sets the
CounterDescriptor that specifies characteristics of this
TimeStampedCounter. |
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. |
| Constructor and Description |
|---|
TimeStampedCounter(MetricRegistry registry,
CounterDescriptor descriptor)
Constructs a
TimeStampedCounter with the specified
characteristics using the specified MetricRegistry. |
TimeStampedCounter(MetricRegistry registry,
CounterDescriptor descriptor,
String uid)
Constructs a
TimeStampedCounter with the specified UID and other
characteristics using the specified MetricRegistry. |
Copyright © 2014. All Rights Reserved.