public interface Timer
Modifier and Type | Method and Description |
---|---|
long |
nanoTime() |
void |
notifyObject(java.lang.Object object) |
void |
waitOnObject(java.lang.Object object) |
void |
waitOnObjectUntilNs(java.lang.Object object,
long timeout) |
long nanoTime()
void waitOnObjectUntilNs(java.lang.Object object, long timeout) throws java.lang.InterruptedException
java.lang.InterruptedException
void notifyObject(java.lang.Object object)
void waitOnObject(java.lang.Object object) throws java.lang.InterruptedException
java.lang.InterruptedException