public class PullImageResultCallback extends ResultCallbackTemplate<PullImageResultCallback,PullResponseItem>
| Constructor and Description |
|---|
PullImageResultCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitSuccess()
Awaits the image to be pulled successful.
|
void |
onNext(PullResponseItem item)
Called when an async result event occurs
|
awaitCompletion, awaitCompletion, awaitStarted, awaitStarted, close, getFirstError, onComplete, onError, onStartpublic void onNext(PullResponseItem item)
ResultCallbackpublic void awaitSuccess()
DockerClientException - if the pull fails.Copyright © 2017. All Rights Reserved.