|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SFCMetric
Method Summary | |
---|---|
MetricDescriptor |
getMetricDescriptor()
Returns the descriptor for this metric. |
long |
getRawValue()
Gets the current value of this metric. |
void |
incrementValue()
Increments the value for this metric by one. |
boolean |
isEnabled()
Indicates whether this metric currently enabled. |
void |
resetValue()
Resets the value of this metric to its initial value. |
void |
updateValue(long value)
Updates the value for this metric. |
Method Detail |
---|
MetricDescriptor getMetricDescriptor()
boolean isEnabled()
updateMetricValue
if providing the
value is expensive.
void incrementValue()
void updateValue(long value)
value
- the new valuevoid resetValue()
long getRawValue()
Note that some metrics are computed by the metrics manager from a raw
statistical value. This method returns the raw value rather than the
computed result. For example: calling getCurrentMetricValue
for an average will return the current total rather than the computed
average.
java.lang.IllegalStateException
- if this metric is not currently enabled
|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |