Package com.complexible.common.timer
Class Timers
java.lang.Object
com.complexible.common.timer.Timers
- Since:
- 2.0
- Version:
- 2.0
- Author:
- Evren Sirin
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcheckTimer(String name) createTimer(String name) doublegetTimerAverage(String name) longgetTimerTotal(String name) voidvoidprint()voidprint(boolean shortForm) voidvoidvoidvoidresetAll()voidresetTimer(String name) voidsetTimeout(String name, long timeout) startTimer(String name) voidtoString()
-
Field Details
-
mainTimer
-
-
Constructor Details
-
Timers
public Timers()
-
-
Method Details
-
addAll
-
createTimer
-
startTimer
-
checkTimer
- Throws:
Exception
-
resetTimer
-
interrupt
public void interrupt() -
setTimeout
-
stopTimer
-
resetAll
public void resetAll() -
getTimerTotal
-
getTimerAverage
-
getTimer
-
getTimers
-
print
public void print() -
print
-
print
public void print(boolean shortForm) -
print
-
print
-
toString
-