- All Implemented Interfaces:
Rate
public class WallTimeRate
extends Object
implements Rate
- Author:
- damonkohler@google.com (Damon Kohler)
-
Constructor Summary
Constructors
-
Method Summary
void
Sleeps until the configured rate is achieved.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
WallTimeRate
public WallTimeRate(int hz)
-
Method Details
-
sleep
public void sleep()
Description copied from interface: Rate
Sleeps until the configured rate is achieved.
- Specified by:
sleep in interface Rate