public interface MetricsSupport
Modifier and Type | Method and Description |
---|---|
void |
decrement(String stream)
Decreases the specified key.for the global artifact
|
void |
decrementForProxy(String stream)
Decreases the specified key for the proxy located by msg.
|
void |
decrementForSequence(String stream)
Decreases the specified key for the sequence located by msg.
|
void |
increment(String stream)
Increases the specified key for the global artifact.
|
void |
incrementForProxy(String stream)
Increases the specified key for the proxy located by msg.
|
void |
incrementForSequence(String stream)
Increases the value of specified key for the sequence located by msg.
|
void |
reportEvent(String stream,
String event)
Reports the metrics event for the specified stream
|
void |
reportEventForProxy(String stream,
String event)
Reports a metrics event into the current proxy service under the given stream
|
void |
reportEventForSequence(String stream,
String event)
Reports a metrics event for the current sequence under the given stream
|
void |
reportTimer(String stream,
long time)
Reports the metrics for the specified global stream
|
void |
reportTimerForProxy(String stream,
long time)
Reports the metrics value for the current proxy service under the given stream
|
void |
reportTimerForSequence(String stream,
long time)
Reports the given value for the current sequence metrics stream
|
void |
reportValue(String stream,
long value)
Reports the metrics for the specified global stream
|
void |
reportValueForProxy(String stream,
long value)
Reports the metrics value for the current proxy service under the given stream
|
void |
reportValueForSequence(String stream,
long value)
Reports the given value for the current sequence metrics stream
|
void |
reset(String stream)
Resets the specified key for the global artifact.
|
void |
resetForProxy(String stream)
Resets the specified key for the proxy located by msg.
|
void |
resetForSequence(String stream)
Resets the specified key for the sequence located by msg.
|
void incrementForSequence(String stream)
stream
- The name of the metrics stream to be increasedvoid reportValueForSequence(String stream, long value)
stream
- the metrics stream to report this value forvalue
- the value being reportedvoid reportTimerForSequence(String stream, long time)
stream
- the metrics stream to report this value fortime
- the time being reportedvoid reportEventForSequence(String stream, String event)
stream
- the stream under which the metrics will be reportedevent
- the event to be reportedvoid resetForSequence(String stream)
stream
- The name of the metrics stream to be resetvoid decrementForSequence(String stream)
stream
- The name of the metrics stream to be decreasedvoid incrementForProxy(String stream)
stream
- The name of the metrics stream to be increasedvoid reportValueForProxy(String stream, long value)
stream
- the stream to which the metrics are reportedvalue
- the value to be reportedvoid reportTimerForProxy(String stream, long time)
stream
- the stream to which the metrics are reportedtime
- the time to be reportedvoid reportEventForProxy(String stream, String event)
stream
- the stream to which the metrics are reportedevent
- the event over which the metrics are recordedvoid resetForProxy(String stream)
stream
- The name of the metrics stream to be resetvoid decrementForProxy(String stream)
stream
- The name of the metrics stream to be decreasedvoid increment(String stream)
stream
- The name of the metrics stream to be increasedvoid reportValue(String stream, long value)
stream
- the stream to which the data to be sent tovalue
- the metrics value to be updatedvoid reportTimer(String stream, long time)
stream
- the stream to which the data to be sent totime
- the metrics timer to be updatedvoid reportEvent(String stream, String event)
stream
- the stream to which the metrics are reportedevent
- the event being reportedvoid reset(String stream)
stream
- The name of the metrics stream to be resetvoid decrement(String stream)
stream
- The name of the metrics stream to be decreasedCopyright © 2010–2016 AdroitLogic. All rights reserved.