me.prettyprint.cassandra.connection
Class NullOpTimer
java.lang.Object
me.prettyprint.cassandra.connection.NullOpTimer
- All Implemented Interfaces:
- Serializable, HOpTimer
public class NullOpTimer
- extends Object
- implements HOpTimer, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullOpTimer
public NullOpTimer()
start
public Object start()
- Description copied from interface:
HOpTimer
- Start timing an operation.
- Specified by:
start
in interface HOpTimer
- Returns:
- - a token that will be returned to the timer when stop(...) in
invoked
stop
public void stop(Object token,
String tagName,
boolean success)
- Specified by:
stop
in interface HOpTimer
- Parameters:
token
- - the token returned from starttagName
- - the name of the tagsuccess
- - did the oepration succeed
Copyright © 2011. All Rights Reserved.