T
- the type of resultpublic interface MonitoredCallable<T> extends Callable<T>
Callable
that provides a way to get its current status prior
to execution completion. Note that the type of status must be the same
as the final result: this has the nice property that querying the corresponding
MonitoredFuture
for status following completion will return the final result.Modifier and Type | Method and Description |
---|---|
List<RuntimeStatistic<?>> |
getStatistics()
Returns the statistics for this callable
|
T |
getStatus()
Returns the partial status or the final result if already complete.
|
List<RuntimeStatistic<?>> getStatistics()
T getStatus()
Copyright © 2020 Actian Corporation. All rights reserved.