Package | Description |
---|---|
com.oracle.bmc.waiter |
Modifier and Type | Method and Description |
---|---|
static MaxTimeTerminationStrategy |
MaxTimeTerminationStrategy.ofMillis(long maxTimeInMillis)
Create a new termination strategy that allows up to the specified number of milliseconds to have elapsed before terminating.
|
static MaxTimeTerminationStrategy |
MaxTimeTerminationStrategy.ofMinutes(long maxTimeInMinutes)
Create a new termination strategy that allows up to the specified number of minutes to have elapsed before terminating.
|
static MaxTimeTerminationStrategy |
MaxTimeTerminationStrategy.ofSeconds(long maxTimeInSeconds)
Create a new termination strategy that allows up to the specified number of seconds to have elapsed before terminating.
|
static MaxTimeTerminationStrategy |
MaxTimeTerminationStrategy.ofTimeUnit(long maxTime,
TimeUnit timeUnit)
Create a new termination strategy that allows up to the specified number of time units to have elapsed before terminating.
|
Copyright © 2016–2019. All rights reserved.