public static class QetcherTimeoutConfig.TimeValue extends Object
| Constructor and Description |
|---|
TimeValue(long time,
TimeUnit timeUnit) |
| Modifier and Type | Method and Description |
|---|---|
static QetcherTimeoutConfig.TimeValue |
hours(long hours) |
static QetcherTimeoutConfig.TimeValue |
minutes(long minutes) |
static QetcherTimeoutConfig.TimeValue |
of(Duration duration) |
QetcherTimeoutConfig.TimeValue |
plus(QetcherTimeoutConfig.TimeValue timeValue) |
static QetcherTimeoutConfig.TimeValue |
seconds(long seconds) |
long |
time() |
Duration |
toDuration() |
TimeUnit |
unit() |
public TimeValue(long time,
TimeUnit timeUnit)
public static QetcherTimeoutConfig.TimeValue seconds(long seconds)
public static QetcherTimeoutConfig.TimeValue minutes(long minutes)
public static QetcherTimeoutConfig.TimeValue hours(long hours)
public QetcherTimeoutConfig.TimeValue plus(QetcherTimeoutConfig.TimeValue timeValue)
public static QetcherTimeoutConfig.TimeValue of(Duration duration)
public long time()
public TimeUnit unit()
public Duration toDuration()
Copyright © 2013–2020 mklinger GmbH. All rights reserved.