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 | Class and Description |
---|---|
class |
AbstractMetricDescriptorCodec<T extends MetricDescriptor>
A JSON codec capable of encoding and decoding
MetricDescriptor objects. |
Modifier and Type | Method and Description |
---|---|
MetricDescriptor |
MetricService.getMetric(String uid)
Returns the descriptor details of an existing metric if found
|
Modifier and Type | Method and Description |
---|---|
Map<MetricDescriptor,String> |
MetricService.getPersistedMetrics(String appId,
String primaryTag,
String secondaryTag,
String name)
Returns all persisted metrics registered and available from the specified
application, primaryTag, secondaryTag and metric name.
|
Modifier and Type | Class and Description |
---|---|
static class |
MetricDescriptor.MetricDescriptorBuilder<T extends MetricDescriptor>
Metric descriptor builder object, which requires that only arguments that
are mandatory for the construction of a
MetricDescriptor be
specified during its own construction. |
Modifier and Type | Class and Description |
---|---|
class |
CounterDescriptor
Counter descriptor object, which specifies numerous properties that shape the
processing and handling of a
TimeStampedCounter object. |
class |
GaugeDescriptor
Gauge descriptor object, which specifies numerous properties that shape the
processing and handling of a
TimeStampedGauge object. |
class |
HistogramDescriptor
Histogram descriptor object, which specifies numerous properties that
shape the processing and handling of a
TimeStampedHistogram object. |
class |
MeterDescriptor
Meter descriptor object, which specifies numerous properties that shape the
processing and handling of a
TimeStampedMeter object. |
class |
RatioGaugeDescriptor
Ratio gauge descriptor object, which specifies numerous properties that shape
the processing and handling of a
TimeStampedRatioGauge object. |
class |
RollingCounterDescriptor
Rolling counter descriptor object, which specifies numerous properties that
shape the processing and handling of a
TimeStampedRollingCounter
object. |
class |
TimerDescriptor
Timer descriptor object, which specifies numerous properties that shape the
processing and handling of a
TimeStampedTimer object. |
Modifier and Type | Method and Description |
---|---|
MetricDescriptor |
TimeStampedMetricDescriptor.getDescriptor()
Gets the
MetricDescriptor . |
MetricDescriptor |
UidMetricDescriptor.getDescriptor()
Gets the
MetricDescriptor . |
MetricDescriptor |
TimeStampedMetric.getDescriptor()
Gets the
MetricDescriptor that describes this TimeStampedMetric object. |
Modifier and Type | Method and Description |
---|---|
int |
MetricDescriptor.compareTo(MetricDescriptor toCompare) |
boolean |
MetricFilter.matches(MetricDescriptor descriptor)
|
TimeStampedMetric |
MetricRegistry.register(MetricDescriptor descriptor,
TimeStampedMetric metric)
Given a
TimeStampedMetric , registers it using the provided
MetricDescriptor . |
boolean |
MetricRegistry.remove(MetricDescriptor descriptor)
Unregisters the
TimeStampedMetric corresponding to the specified
MetricDescriptor . |
Constructor and Description |
---|
TimeStampedMetricDescriptor(MetricDescriptor descriptor)
Creates a new
TimeStampedMetricDescriptor using the current time. |
TimeStampedMetricDescriptor(MetricDescriptor descriptor,
long timeStamp)
Creates a new
TimeStampedMetricDescriptor using the specified
time stamp. |
UidMetricDescriptor(MetricDescriptor descriptor,
String uid)
Creates a new
UidMetricDescriptor using the current time. |
Copyright © 2015. All Rights Reserved.