Method Summary |
|
public void | check() Throws a TimeoutExpiredException exception if timeout has been expired. |
public boolean | expired() Checks if timeout has been expired after start() invocation. |
public String | getName() Returns timeout name. |
public long | getValue() Returns timeout value. |
public void | sleep() Sleeps for timeout value. |
public void | start() Starts timeout measuring. |