Top Description Methods
com.oracle.bmc.waiter

public Interface TerminationStrategy

Known Direct Implementers
com.oracle.bmc.waiter.MaxAttemptsTerminationStrategy, com.oracle.bmc.waiter.MaxTimeTerminationStrategy
Imports
com.oracle.bmc.waiter.WaiterConfiguration.WaitContext

Defines the strategy that determines when no more poll attempts should be made.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true to terminate polling, false to continue.
shouldTerminate
(WaiterConfiguration.WaitContext
The context after the last poll attempt.
context
)

Returns whether or not polling should be terminated.

Method Detail

shouldTerminateback to summary
public boolean shouldTerminate(WaiterConfiguration.WaitContext context)

Returns whether or not polling should be terminated.

Parameters
context:WaiterConfiguration.WaitContext

The context after the last poll attempt.

Returns:boolean

true to terminate polling, false to continue.