public interface Metric
Title: Service Event Fabric Runtime
Description: A general interface that represents a metric.
Copyright: Copyright (c) 2009
Company: StreamScape Technologies
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns the description of the metric.
|
long |
getIncrementUnits()
Returns the autoincrement interval of this metric.
|
long |
getMaxThreshold()
Returns the maximum threshold.
|
java.util.Date |
getMetricTimestamp()
Returns a timestamp of when the metric was last changed.
|
long |
getMinThreshold()
Returns the minimum threshold.
|
java.lang.String |
getName()
Returns the name of the metric.
|
long |
getResetInterval()
Returns the reset interval (in milliseconds).
|
Unit |
getUnits()
Returns the units for this metric.
|
long |
getValue()
Returns the current value of the metric.
|
boolean |
hasNotification()
Returns
true if this metric as a threshold
notification. |
boolean |
isMaxThreshold()
Returns
true if this metric has crossed the
maximum threshold. |
boolean |
isMinThreshold()
Returns
true if this metric has crossed the
minimum threshold. |
java.lang.String getName()
java.lang.String getDescription()
long getMinThreshold()
long getMaxThreshold()
Unit getUnits()
long getIncrementUnits()
boolean hasNotification()
true
if this metric as a threshold
notification. If it does, each time the thresholds are
breached an advisory is raised.long getValue()
java.util.Date getMetricTimestamp()
boolean isMaxThreshold()
true
if this metric has crossed the
maximum threshold.boolean isMinThreshold()
true
if this metric has crossed the
minimum threshold.long getResetInterval()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.