Package com.oracle.bmc.streaming
Class StreamAdminWaiters
- java.lang.Object
-
- com.oracle.bmc.streaming.StreamAdminWaiters
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180418") public class StreamAdminWaiters extends ObjectCollection of helper methods to produceWaiters for different resources of StreamAdmin.The default configuration used is defined by
com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER.
-
-
Constructor Summary
Constructors Constructor Description StreamAdminWaiters(ExecutorService executorService, StreamAdmin client)
-
Method Summary
-
-
-
Constructor Detail
-
StreamAdminWaiters
public StreamAdminWaiters(ExecutorService executorService, StreamAdmin client)
-
-
Method Detail
-
forConnectHarness
public Waiter<GetConnectHarnessRequest,GetConnectHarnessResponse> forConnectHarness(GetConnectHarnessRequest request, ConnectHarness.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
- a new Waiter instance
-
forConnectHarness
public Waiter<GetConnectHarnessRequest,GetConnectHarnessResponse> forConnectHarness(GetConnectHarnessRequest request, ConnectHarness.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forConnectHarness
public Waiter<GetConnectHarnessRequest,GetConnectHarnessResponse> forConnectHarness(GetConnectHarnessRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ConnectHarness.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forStream
public Waiter<GetStreamRequest,GetStreamResponse> forStream(GetStreamRequest request, Stream.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
- a new Waiter instance
-
forStream
public Waiter<GetStreamRequest,GetStreamResponse> forStream(GetStreamRequest request, Stream.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forStream
public Waiter<GetStreamRequest,GetStreamResponse> forStream(GetStreamRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Stream.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forStreamPool
public Waiter<GetStreamPoolRequest,GetStreamPoolResponse> forStreamPool(GetStreamPoolRequest request, StreamPool.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
- a new Waiter instance
-
forStreamPool
public Waiter<GetStreamPoolRequest,GetStreamPoolResponse> forStreamPool(GetStreamPoolRequest request, StreamPool.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forStreamPool
public Waiter<GetStreamPoolRequest,GetStreamPoolResponse> forStreamPool(GetStreamPoolRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, StreamPool.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
-