public class StreamFrame extends AbstractMDINotification
MDINotification that contains information about one frame of a stream.| Constructor and Description |
|---|
StreamFrame(BICEPSQoSContext context,
String metricHandle,
MeasurementState measurementStatus)
Instantiates a new stream frame.
|
StreamFrame(BICEPSQoSContext context,
String metricDescriptorHandle,
MeasurementState measurementStatus,
int sampleCapacity,
long timestamp,
List<Annotation> annotations)
Instantiates a new stream frame.
|
StreamFrame(BICEPSQoSContext context,
String metricDescriptorHandle,
String metricStateHandle,
MeasurementState measurementStatus,
int sampleCapacity,
long timestamp,
List<Annotation> annotations,
ComponentActivation metricState)
Instantiates a new stream frame.
|
| Modifier and Type | Method and Description |
|---|---|
List<Annotation> |
getAnnotations()
Gets the annotations.
|
String |
getMetricDescriptorHandle()
Gets the metric descriptor handle.
|
ComponentActivation |
getMetricState()
Gets the metric state.
|
String |
getMetricStateHandle()
Gets the metric state handle.
|
MeasurementState |
getStatus()
Gets the status.
|
long |
getTimestamp()
Gets the timestamp.
|
Collection<BigDecimal> |
getValues()
Gets the values.
|
void |
releaseStreamFrame()
Release stream frame.
|
String |
toString() |
getQoSContextpublic StreamFrame(BICEPSQoSContext context, String metricHandle, MeasurementState measurementStatus)
context - the contextmetricHandle - the metric handlemeasurementStatus - the measurement statuspublic StreamFrame(BICEPSQoSContext context, String metricDescriptorHandle, MeasurementState measurementStatus, int sampleCapacity, long timestamp, List<Annotation> annotations)
context - the contextmetricDescriptorHandle - the metric descriptor handlemeasurementStatus - the measurement statussampleCapacity - the sample capacitytimestamp - the timestampannotations - the annotationspublic StreamFrame(BICEPSQoSContext context, String metricDescriptorHandle, String metricStateHandle, MeasurementState measurementStatus, int sampleCapacity, long timestamp, List<Annotation> annotations, ComponentActivation metricState)
context - the contextmetricDescriptorHandle - the metric descriptor handlemetricStateHandle - the metric state handlemeasurementStatus - the measurement statussampleCapacity - the sample capacitytimestamp - the timestampannotations - the annotationsmetricState - the metric statepublic void releaseStreamFrame()
public String getMetricDescriptorHandle()
public MeasurementState getStatus()
public Collection<BigDecimal> getValues()
public List<Annotation> getAnnotations()
public String getMetricStateHandle()
public long getTimestamp()
public ComponentActivation getMetricState()
Copyright © 2016. All rights reserved.