public class ProgressEventHandler extends Object implements Consumer<ProgressEvent>
ProgressEvents by accumulating an overall progress and keeping track of which
Allocations are complete.
This implementation is thread-safe.
| Modifier and Type | Class and Description |
|---|---|
static class |
ProgressEventHandler.Update
Contains the accumulated progress and which "leaf" tasks are not yet complete.
|
| Constructor and Description |
|---|
ProgressEventHandler(Consumer<ProgressEventHandler.Update> updateNotifier) |
public ProgressEventHandler(Consumer<ProgressEventHandler.Update> updateNotifier)
public void accept(ProgressEvent progressEvent)
accept in interface Consumer<ProgressEvent>Copyright © 2019. All rights reserved.