public class StreamFrame extends AbstractMDINotification
MDINotification that contains information about one frame of a stream.| Constructor and Description |
|---|
StreamFrame(BICEPSQoSContext context,
java.lang.String metricHandle,
AbstractMetricValue.MetricQuality measurementStatus)
Instantiates a new stream frame.
|
StreamFrame(BICEPSQoSContext context,
java.lang.String metricDescriptorHandle,
AbstractMetricValue.MetricQuality measurementStatus,
int sampleCapacity,
long timestamp,
java.util.List<SampleArrayValue.ApplyAnnotation> annotations)
Instantiates a new stream frame.
|
StreamFrame(BICEPSQoSContext context,
java.lang.String metricDescriptorHandle,
java.lang.String metricStateHandle,
AbstractMetricValue.MetricQuality measurementStatus,
int sampleCapacity,
long timestamp,
java.util.List<SampleArrayValue.ApplyAnnotation> annotations,
ComponentActivation metricState)
Instantiates a new stream frame.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<SampleArrayValue.ApplyAnnotation> |
getAnnotations()
Gets the annotations.
|
java.lang.String |
getMetricDescriptorHandle()
Gets the metric descriptor handle.
|
ComponentActivation |
getMetricState()
Gets the metric state.
|
java.lang.String |
getMetricStateHandle()
Gets the metric state handle.
|
AbstractMetricValue.MetricQuality |
getStatus()
Gets the status.
|
long |
getTimestamp()
Gets the timestamp.
|
java.util.Collection<java.math.BigDecimal> |
getValues()
Gets the values.
|
void |
releaseStreamFrame()
Release stream frame.
|
java.lang.String |
toString() |
getQoSContextpublic StreamFrame(BICEPSQoSContext context, java.lang.String metricHandle, AbstractMetricValue.MetricQuality measurementStatus)
context - the contextmetricHandle - the metric handlemeasurementStatus - the measurement statuspublic StreamFrame(BICEPSQoSContext context, java.lang.String metricDescriptorHandle, AbstractMetricValue.MetricQuality measurementStatus, int sampleCapacity, long timestamp, java.util.List<SampleArrayValue.ApplyAnnotation> annotations)
context - the contextmetricDescriptorHandle - the metric descriptor handlemeasurementStatus - the measurement statussampleCapacity - the sample capacitytimestamp - the timestampannotations - the annotationspublic StreamFrame(BICEPSQoSContext context, java.lang.String metricDescriptorHandle, java.lang.String metricStateHandle, AbstractMetricValue.MetricQuality measurementStatus, int sampleCapacity, long timestamp, java.util.List<SampleArrayValue.ApplyAnnotation> 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 java.lang.String getMetricDescriptorHandle()
public AbstractMetricValue.MetricQuality getStatus()
public java.util.Collection<java.math.BigDecimal> getValues()
public java.util.List<SampleArrayValue.ApplyAnnotation> getAnnotations()
public java.lang.String getMetricStateHandle()
public long getTimestamp()
public ComponentActivation getMetricState()
public java.lang.String toString()
toString in class java.lang.Object