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