| Constructor and Description |
|---|
TimeoutImpl(long amount,
TimeUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
long |
in(TimeUnit targetUnit)
Get the timeout in the given unit.
|
long |
in(TimeUnit targetUnit,
double factor)
Get the timeout in the given unit adjusted by the given factor.
|
String |
toString() |
public TimeoutImpl(@Nonnegative long amount, @Nonnull TimeUnit unit)
@Nonnegative public long in(@Nonnull TimeUnit targetUnit)
Timeout@Nonnegative public long in(@Nonnull TimeUnit targetUnit, @Nonnegative double factor)
TimeoutGet the timeout in the given unit adjusted by the given factor.
Copyright © 2011-2017 CoreMedia AG. All Rights Reserved.