A B C D G P S

A

after(ValueT, Throwable) - Method in interface BeforeAfterCallable
Clean up after call(), whether or not it was successful.

B

before(BeforeAfterCallable.AllowCallToProceed) - Method in interface BeforeAfterCallable
Peform the setup required before call() can be called.
BeforeAfterCallable<ValueT> - Interface in <Unnamed>
A compound action that has a setup, an action, and a cleanup, implemented in three methods, before(), BeforeAfterCallable.call(), and after(), to be run in what is known as the before/after pattern, which goes like this:
  before();
  try { result = call(); }
  finally { after(); }

The BeforeAfterCallable interface is used with BeforeAfterCaller to run call() in another thread.
BeforeAfterCallable.AllowCallToProceed - Interface in <Unnamed>
The interface containing the proceed() method, which triggers BeforeAfterCaller to proceed with calling BeforeAfterCallable.call().
BeforeAfterCaller<ValueT> - Class in <Unnamed>
Call the methods of a BeforeAfterCallable using an Executor.
BeforeAfterCaller() - Constructor for class BeforeAfterCaller
Create with a simple Executor that creates a separate worker thread.
BeforeAfterCaller(Executor) - Constructor for class BeforeAfterCaller
Create with the given Executor.
BeforeAfterCaller(Executor, int) - Constructor for class BeforeAfterCaller
Create with the given Executor.
BeforeAfterFutureTask<ValueT> - Class in <Unnamed>
Returned by BeforeAfterCaller.submit().

C

call() - Method in interface BeforeAfterCallable
Computes a result, or throws an exception if unable to do so.

D

DEFAULT_TIMEOUT - Static variable in class BeforeAfterCaller
Milliseconds to wait before the CyclicBarrier times out: 60000 milliseconds.

G

getAfterThrowable() - Method in class BeforeAfterFutureTask
Throwable that occured in after().
getBeforeThrowable() - Method in class BeforeAfterFutureTask
Throwable that occured in before() after BeforeAfterCallable.AllowCallToProceed.proceed() was called.
getExecutor() - Method in class BeforeAfterCaller
Returns the Executor.
getTask() - Method in class BeforeAfterFutureTask
Returns the BeforeAfterCallable associated with this.

P

proceed() - Method in interface BeforeAfterCallable.AllowCallToProceed
Allow BeforeAfterCallable.call() to be called.

S

submit(BeforeAfterCallable<ValueT>) - Method in class BeforeAfterCaller
Submit the BeforeAfterCallable to be executed by the Executor.

A B C D G P S