public static class Process.ProcessReport<T extends PersistingElement> extends Object
| Constructor and Description |
|---|
ProcessReport() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long timeout)
Waits for all processes to be done.
|
long |
getDurationInMillis()
Total time took for processing elements.
|
int |
getElementsTreated()
The number of elements that were processed.
|
T |
getLastProcessedElement()
The last element that was processed.
|
List<Future<?>> |
getPerforming()
The list of future for processed that are still performing.
|
public int getElementsTreated()
public T getLastProcessedElement()
public long getDurationInMillis()
public List<Future<?>> getPerforming()
public boolean awaitTermination(long timeout)
timeout - number of milliseconds the wait can happen.Copyright © 2016. All Rights Reserved.