me.prettyprint.cassandra.connection
Interface HOpTimer
- All Known Implementing Classes:
- NullOpTimer, SpeedForJOpTimer
public interface HOpTimer
Timer For Cassandra operations
start
Object start()
- Start timing an operation.
- Returns:
- - a token that will be returned to the timer when stop(...) in
invoked
stop
void stop(Object token,
String tagName,
boolean success)
- Parameters:
token
- - the token returned from starttagName
- - the name of the tagsuccess
- - did the oepration succeed
Copyright © 2011. All Rights Reserved.