All Implemented Interfaces:
private static final class
TaskCallable actually implements the Callable contract as defined for
the FutureTask class, and is necessary so as to allow us to intercept
the call() operation to update state on the Task as appropriate.
Modifier and Type
Method and Description
Invoked by the system when it is time to run the client code.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Invoked by the system when it is time to run the client code. This
implementation is where we modify the state and other properties
and from which we invoke the events.
call in interface
V> Returns: The result of the Task call method
java.lang.Exception - any exception which occurred
Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.