|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.examples.pi.Util.Timer
public static class Util.Timer
Timer
Constructor Summary | |
---|---|
Util.Timer(boolean isAccumulative)
Timer constructor |
Method Summary | |
---|---|
long |
tick()
Same as tick(null). |
long |
tick(String s)
Tick |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Util.Timer(boolean isAccumulative)
isAccumulative
- Is accumulating the time duration?Method Detail |
---|
public long tick()
public long tick(String s)
s
- Output message. No output if it is null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |