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, throwFirstErrorpublic 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 © 2025. All rights reserved.