net.tomp2p.utils
Class TimingImpl
java.lang.Object
net.tomp2p.utils.TimingImpl
- All Implemented Interfaces:
- Timing
public class TimingImpl
- extends Object
- implements Timing
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimingImpl
public TimingImpl()
currentTimeMillis
public long currentTimeMillis()
- Specified by:
currentTimeMillis in interface Timing
sleep
public void sleep(int millis)
throws InterruptedException
- Specified by:
sleep in interface Timing
- Throws:
InterruptedException
sleepUninterruptibly
public void sleepUninterruptibly(int millis)
- Specified by:
sleepUninterruptibly in interface Timing
Copyright © 2012. All Rights Reserved.