public class PushImageResultCallback extends ResultCallbackTemplate<PushImageResultCallback,PushResponseItem>
Constructor and Description |
---|
PushImageResultCallback() |
Modifier and Type | Method and Description |
---|---|
void |
awaitSuccess()
Deprecated.
|
void |
onNext(PushResponseItem item)
Called when an async result event occurs
|
protected void |
throwFirstError()
Throws the first occurred error as a runtime exception
|
awaitCompletion, awaitCompletion, awaitStarted, awaitStarted, close, onComplete, onError, onStart
public void onNext(PushResponseItem item)
ResultCallback
protected void throwFirstError()
ResultCallbackTemplate
throwFirstError
in class ResultCallbackTemplate<PushImageResultCallback,PushResponseItem>
public void awaitSuccess()
ResultCallbackTemplate.awaitCompletion()
or ResultCallbackTemplate.awaitCompletion(long, TimeUnit)
insteadDockerClientException
- if the push fails.Copyright © 2018. All Rights Reserved.