Luigi Homepage

Package net.cw.luigi.commands

Interface Summary
Command Describes a command with a possible result
CommandExecutor A command executor can schedule commands to execution, providing a mean to reach the future results
LateResult A LateResult implementation provides a way to wait for a worker thread to complete a Command, and then retrieve the returned value or the exception.
 

Class Summary
CommandExecutorImpl Default implementation of the CommandExecutor interface, using some Executor instance from the util.concurrent package.
LateExecution Runnable utility class that fills a late result with the return of a command
LateResultImpl Basic implementation of the LateResult interface.
SearchCommand This command performs a search in background and returns the Hits object returned by the searcher.
WaitableResult LateResult implementation that uses a Latch to allow client threads to wait until the worker thread is done.
 


Luigi Homepage