public class Timers extends Object
Constructor and Description |
---|
Timers() |
Modifier and Type | Method and Description |
---|---|
void |
addAll(Timers other) |
void |
checkTimer(String name) |
Timer |
createTimer(String name) |
Timer |
getTimer(String name) |
double |
getTimerAverage(String name) |
Collection<Timer> |
getTimers() |
long |
getTimerTotal(String name) |
void |
interrupt() |
void |
print() |
void |
print(boolean shortForm) |
void |
print(boolean shortForm,
String sortBy) |
void |
print(Writer pw) |
void |
print(Writer pw,
boolean shortForm,
String sortBy) |
void |
resetAll() |
void |
resetTimer(String name) |
void |
setTimeout(String name,
long timeout) |
Timer |
startTimer(String name) |
void |
stopTimer(String name) |
String |
toString() |
public final Timer mainTimer
public void addAll(Timers other)
public void resetTimer(String name)
public void interrupt()
public void setTimeout(String name, long timeout)
public void stopTimer(String name)
public void resetAll()
public long getTimerTotal(String name)
public double getTimerAverage(String name)
public Collection<Timer> getTimers()
public void print()
public void print(Writer pw)
public void print(boolean shortForm)
public void print(boolean shortForm, String sortBy)
Copyright © 2010-2016 Stardog Union. All Rights Reserved.