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, close, onComplete, onError, onStart
public void onNext(PullResponseItem item)
ResultCallback
public void awaitSuccess()
DockerClientException
- if the pull fails.Copyright © 2015. All Rights Reserved.