org.usergrid.persistence.cassandra.util
Class TaggedOpTimer

java.lang.Object
  extended by 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

Constructor Summary
TaggedOpTimer(TraceTagManager traceTagManager)
           
 
Method Summary
 Object start()
           
 void stop(Object timedOpTag, String opTagName, boolean success)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaggedOpTimer

public TaggedOpTimer(TraceTagManager traceTagManager)
Method Detail

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.