Class ProgressEventDispatcher

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class ProgressEventDispatcher
    extends java.lang.Object
    implements java.io.Closeable
    Dispatches ProgressEvents associated with a managed Allocation. Keeps track of the allocation units that are remaining so that it can emit the remaining progress units upon close().

    This class is not thread-safe. Only use a single instance per thread and create child instances with newChildProducer().