public interface ProcessFuture
Future token to indicate a ProcessState
has completed.
On completion of the ProcessState
a
will also be invoked on the object
implementing this interface to allow "immediate" awareness of the
completion of the Object.notifyAll()
ProcessState
.
The reason for the
is to allow
blocking Object.notifyAll()
Thread
instances waiting on the ProcessState
to be
complete to be notified rather than having to poll the isComplete()
method.
Please note that
is only run once on
completion of the Object.notifyAll()
ProcessState
and blocking Thread
instances
should not wait indefinitely for this to occur.
Modifier and Type | Method and Description |
---|---|
boolean |
isComplete()
Indicates whether the
JobSequence has completed. |
boolean isComplete()
JobSequence
has completed.true
if the JobSequence
has completed.Copyright © 2005–2016. All rights reserved.