org.usergrid.persistence.cassandra.util
Class TaggedOpTimer
java.lang.Object
org.usergrid.persistence.cassandra.util.TaggedOpTimer
- All Implemented Interfaces:
- me.prettyprint.cassandra.connection.HOpTimer
public class TaggedOpTimer
- extends Object
- implements me.prettyprint.cassandra.connection.HOpTimer
Trace the timed execution of a 'tag' over the course of a number of operations.
Facilitates integration with Dapper-style trace logging infrastructure.
- Author:
- zznate
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaggedOpTimer
public TaggedOpTimer(TraceTagManager traceTagManager)
start
public Object start()
- Specified by:
start
in interface me.prettyprint.cassandra.connection.HOpTimer
stop
public void stop(Object timedOpTag,
String opTagName,
boolean success)
- Specified by:
stop
in interface me.prettyprint.cassandra.connection.HOpTimer
Copyright © 2013. All Rights Reserved.