public class MeteringAgent.Context
extends java.lang.Object
| Constructor and Description |
|---|
Context(com.codahale.metrics.Timer.Context context,
java.lang.String operation)
Constructs Context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
stop(java.lang.Throwable e)
Stops timer given a specific context and updates all related metrics.
|