public class WaitContainerResultCallback extends ResultCallbackTemplate<WaitContainerResultCallback,WaitResponse>
ResultCallback.Adapter<A_RES_T>
Constructor and Description |
---|
WaitContainerResultCallback() |
Modifier and Type | Method and Description |
---|---|
Integer |
awaitStatusCode()
Awaits the status code from the container.
|
Integer |
awaitStatusCode(long timeout,
TimeUnit timeUnit)
Awaits the status code from the container.
|
void |
onNext(WaitResponse waitResponse)
Called when an async result event occurs
|
awaitCompletion, awaitCompletion, awaitStarted, awaitStarted, close, onComplete, onError, onStart, throwFirstError
public void onNext(WaitResponse waitResponse)
ResultCallback
public Integer awaitStatusCode()
DockerClientException
- if the wait operation fails.public Integer awaitStatusCode(long timeout, TimeUnit timeUnit)
DockerClientException
- if the wait operation fails.Copyright © 2021. All rights reserved.