public class WaitContainerResultCallback extends ResultCallbackTemplate<WaitContainerResultCallback,WaitResponse>
| 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, getFirstError, onComplete, onError, onStartpublic void onNext(WaitResponse waitResponse)
ResultCallbackpublic Integer awaitStatusCode()
DockerClientException - if the wait operation fails.public Integer awaitStatusCode(long timeout, TimeUnit timeUnit)
DockerClientException - if the wait operation fails.Copyright © 2017. All Rights Reserved.