接口 UpdateListener<E extends UpdateEvent>
- 类型参数:
E- the update event type
- 所有已知实现类:
DockerApi.DigestCaptureUpdateListener,DockerApi.ErrorCaptureUpdateListener,DockerApi.StreamCaptureUpdateListener,TotalProgressListener,TotalProgressPullListener,TotalProgressPushListener
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Listener for update events published from the
DockerApi.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb
-
字段概要
字段 -
方法概要
修饰符和类型方法说明static <E extends UpdateEvent>
UpdateListener<E>none()A no-op update listener that does nothing.default voidonFinish()Called when the operation finishes (with or without error).default voidonStart()Called when the operation starts.voidCalled when an update event is available.
-
字段详细资料
-
NONE
A no-op update listener.- 另请参阅:
-
-
方法详细资料
-
onStart
default void onStart()Called when the operation starts. -
onUpdate
Called when an update event is available.- 参数:
event- the update event
-
onFinish
default void onFinish()Called when the operation finishes (with or without error). -
none
A no-op update listener that does nothing.- 类型参数:
E- the event type- 返回:
- a no-op update listener
-