public class SleepAtLeast extends Object implements BinaryAction<Long,TimeUnit>
| Constructor and Description |
|---|
SleepAtLeast(TimeStrategy time) |
| Modifier and Type | Method and Description |
|---|---|
void |
perform(Long duration,
TimeUnit unit)
Performs an action for the given elements.
|
public SleepAtLeast(TimeStrategy time)
public void perform(Long duration, TimeUnit unit)
BinaryActionperform in interface BinaryAction<Long,TimeUnit>duration - the former elementunit - the latter elementCopyright © 2016. All rights reserved.