public class TrySleep extends Object implements BiConsumer<Long,TimeUnit>
| Constructor and Description |
|---|
TrySleep(TimeStrategy time) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Long duration,
TimeUnit unit) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenpublic TrySleep(TimeStrategy time)
Copyright © 2017. All rights reserved.