类 TotalProgressPullListener
java.lang.Object
cn.taketoday.buildpack.platform.docker.TotalProgressListener<PullImageUpdateEvent>
cn.taketoday.buildpack.platform.docker.TotalProgressPullListener
- 所有已实现的接口:
UpdateListener<PullImageUpdateEvent>
UpdateListener that calculates the total progress of the entire pull operation
and publishes TotalProgressEvent.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb, Scott Frederick
-
字段概要
字段从接口继承的字段 cn.taketoday.buildpack.platform.docker.UpdateListener
NONE -
构造器概要
构造器构造器说明TotalProgressPullListener(String prefix) Create a newTotalProgressPullListenerthat prints a progress bar toSystem.out.TotalProgressPullListener(Consumer<TotalProgressEvent> consumer) Create a newTotalProgressPullListenerthat sendseventsto the given consumer. -
方法概要
从类继承的方法 cn.taketoday.buildpack.platform.docker.TotalProgressListener
onFinish, onStart, onUpdate
-
字段详细资料
-
TRACKED_STATUS_KEYS
-
-
构造器详细资料
-
TotalProgressPullListener
Create a newTotalProgressPullListenerthat prints a progress bar toSystem.out.- 参数:
prefix- the prefix to output
-
TotalProgressPullListener
Create a newTotalProgressPullListenerthat sendseventsto the given consumer.- 参数:
consumer- the consumer that receivesprogress events
-