public class WaitContainerResultCallback extends ResultCallbackTemplate<WaitContainerResultCallback,WaitResponse>
Constructor and Description |
---|
WaitContainerResultCallback() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
awaitStatusCode()
Awaits the status code from the container.
|
java.lang.Integer |
awaitStatusCode(long timeout,
java.util.concurrent.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 java.lang.Integer awaitStatusCode()
DockerClientException
- if the wait operation fails.public java.lang.Integer awaitStatusCode(long timeout, java.util.concurrent.TimeUnit timeUnit)
DockerClientException
- if the wait operation fails.Copyright © 2018. All Rights Reserved.