A C E F G H I J L O R W 

A

AbstractJobBus<CTX,H> - Class in org.refcodes.jobbus
The AbstractJobBus implements the JobBus interface.
AbstractJobBus(CTX, HandleGenerator<H>) - Constructor for class org.refcodes.jobbus.AbstractJobBus
Instantiates the AbstractJobBus with the provided context and the provided HandleGenerator.
AbstractJobBus(CTX, HandleGenerator<H>, ExecutorService) - Constructor for class org.refcodes.jobbus.AbstractJobBus
Instantiates the AbstractJobBus with the provided context and the provided HandleGenerator.
AbstractJobBusDirectory<CTX,H> - Class in org.refcodes.jobbus
The AbstractJobBusDirectory extends the AbstractJobBus with the JobBusDirectory functionality.
AbstractJobBusDirectory(CTX, HandleGenerator<H>) - Constructor for class org.refcodes.jobbus.AbstractJobBusDirectory
Instantiates the AbstractJobBusDirectory with the provided context and the provided HandleGenerator.

C

createJobBus(CTX) - Method in class org.refcodes.jobbus.JobBusImpl
Hook method pre-implemented useful when extending this class.

E

execute(Undoable<CTX, ?, ?>) - Method in class org.refcodes.jobbus.AbstractJobBus
Executes the given job.
execute(Undoable<CTX, ?, ?>) - Method in interface org.refcodes.jobbus.JobBus
Executes the given job.
execute(Undoable<CTX, ?, ?>) - Method in class org.refcodes.jobbus.JobBusImpl
Executes the given job.
execute(Undoable<CTX, ?, ?>) - Method in class org.refcodes.jobbus.JobBusProxyImpl
Executes the given job.
execute(Undoable<CTX, RET, E>, BiConsumer<RET, E>) - Method in class org.refcodes.jobbus.AbstractJobBus
Executes the given job and invokes the provides BiConsumer lambda (closure) upon finished execution.
execute(Undoable<CTX, RET, E>, BiConsumer<RET, E>) - Method in interface org.refcodes.jobbus.JobBus
Executes the given job and invokes the provides BiConsumer lambda (closure) upon finished execution.
execute(Undoable<CTX, RET, E>, BiConsumer<RET, E>) - Method in class org.refcodes.jobbus.JobBusImpl
Executes the given job and invokes the provides BiConsumer lambda (closure) upon finished execution.
execute(Undoable<CTX, RET, E>, BiConsumer<RET, E>) - Method in class org.refcodes.jobbus.JobBusProxyImpl
Executes the given job and invokes the provides BiConsumer lambda (closure) upon finished execution.
execute(Undoable<CTX, RET, E>, Consumer<RET>) - Method in class org.refcodes.jobbus.AbstractJobBus
Executes the given job and invokes the provided Consumer lambda (closure) upon finished execution.
execute(Undoable<CTX, RET, E>, Consumer<RET>) - Method in interface org.refcodes.jobbus.JobBus
Executes the given job and invokes the provided Consumer lambda (closure) upon finished execution.
execute(Undoable<CTX, RET, E>, Consumer<RET>) - Method in class org.refcodes.jobbus.JobBusImpl
Executes the given job and invokes the provided Consumer lambda (closure) upon finished execution.
execute(Undoable<CTX, RET, E>, Consumer<RET>) - Method in class org.refcodes.jobbus.JobBusProxyImpl
 

F

flush(H) - Method in class org.refcodes.jobbus.AbstractJobBus
flush(H) - Method in class org.refcodes.jobbus.JobBusProxyImpl
flush(String) - Method in class org.refcodes.jobbus.JobBusImpl

G

getException(H) - Method in class org.refcodes.jobbus.AbstractJobBus
Gets the exception.
getException(H) - Method in interface org.refcodes.jobbus.JobBus
Returns the exception of the job in case it terminated with an error.
getException(H) - Method in class org.refcodes.jobbus.JobBusProxyImpl
Returns the exception of the job in case it terminated with an error.
getException(String) - Method in class org.refcodes.jobbus.JobBusImpl
Returns the exception of the job in case it terminated with an error.
getJob(H) - Method in class org.refcodes.jobbus.AbstractJobBus
Gets the job.
getProgress(H) - Method in class org.refcodes.jobbus.AbstractJobBus
getProgress(H) - Method in class org.refcodes.jobbus.JobBusProxyImpl
getProgress(String) - Method in class org.refcodes.jobbus.JobBusImpl
getResult(H) - Method in class org.refcodes.jobbus.AbstractJobBus
Gets the result.
getResult(H) - Method in interface org.refcodes.jobbus.JobBus
Returns the result of the job as the result of executing the job.
getResult(H) - Method in class org.refcodes.jobbus.JobBusProxyImpl
Returns the result of the job as the result of executing the job.
getResult(String) - Method in class org.refcodes.jobbus.JobBusImpl
Returns the result of the job as the result of executing the job.
getResult(JOB) - Method in class org.refcodes.jobbus.AbstractJobBus
Executes the job and waits for the job's result or an exception.
getResult(JOB) - Method in interface org.refcodes.jobbus.JobBus
Executes the job and waits for the job's result or an exception.
getResult(JOB) - Method in class org.refcodes.jobbus.JobBusImpl
Executes the job and waits for the job's result or an exception.
getResult(JOB) - Method in class org.refcodes.jobbus.JobBusProxyImpl
Executes the job and waits for the job's result or an exception.
getResult(JOB, long) - Method in class org.refcodes.jobbus.AbstractJobBus
Executes the job and waits for the job's result or an exception or till the timeout has been reached.
getResult(JOB, long) - Method in interface org.refcodes.jobbus.JobBus
Executes the job and waits for the job's result or an exception or till the timeout has been reached.
getResult(JOB, long) - Method in class org.refcodes.jobbus.JobBusImpl
Executes the job and waits for the job's result or an exception or till the timeout has been reached.
getResult(JOB, long) - Method in class org.refcodes.jobbus.JobBusProxyImpl
Executes the job and waits for the job's result or an exception or till the timeout has been reached.

H

handleReferences() - Method in class org.refcodes.jobbus.AbstractJobBus
Retrieves the list of objects referenced by the handles.
handleReferences() - Method in class org.refcodes.jobbus.AbstractJobBusDirectory
Handle references.
handles() - Method in class org.refcodes.jobbus.AbstractJobBus
Returns the set of handles managed by this implementation.
handles() - Method in class org.refcodes.jobbus.AbstractJobBusDirectory
Returns the set of handles managed by this implementation.
hasException(H) - Method in class org.refcodes.jobbus.AbstractJobBus
Determines whether the job identified by the given handle ended with an exception (instead of a regular result).
hasException(H) - Method in interface org.refcodes.jobbus.JobBus
Determines whether the job identified by the given handle ended with an exception (instead of a regular result).
hasException(H) - Method in class org.refcodes.jobbus.JobBusProxyImpl
Determines whether the job identified by the given handle ended with an exception (instead of a regular result).
hasException(String) - Method in class org.refcodes.jobbus.JobBusImpl
Determines whether the job identified by the given handle ended with an exception (instead of a regular result).
hasFlush(H) - Method in class org.refcodes.jobbus.AbstractJobBus
hasFlush(H) - Method in class org.refcodes.jobbus.JobBusProxyImpl
hasFlush(String) - Method in class org.refcodes.jobbus.JobBusImpl
hasHandle(H) - Method in class org.refcodes.jobbus.AbstractJobBus
hasHandle(H) - Method in class org.refcodes.jobbus.JobBusProxyImpl
hasHandle(String) - Method in class org.refcodes.jobbus.JobBusImpl
hasProgress(H) - Method in class org.refcodes.jobbus.AbstractJobBus
hasProgress(H) - Method in class org.refcodes.jobbus.JobBusProxyImpl
hasProgress(String) - Method in class org.refcodes.jobbus.JobBusImpl
hasReset(H) - Method in class org.refcodes.jobbus.AbstractJobBus
hasReset(H) - Method in class org.refcodes.jobbus.JobBusProxyImpl
hasReset(String) - Method in class org.refcodes.jobbus.JobBusImpl
hasResult(H) - Method in class org.refcodes.jobbus.AbstractJobBus
Determines whether the job identified by the given handle has a regular result (instead of an exception).
hasResult(H) - Method in interface org.refcodes.jobbus.JobBus
Determines whether the job identified by the given handle has a regular result (instead of an exception).
hasResult(H) - Method in class org.refcodes.jobbus.JobBusProxyImpl
Determines whether the job identified by the given handle has a regular result (instead of an exception).
hasResult(String) - Method in class org.refcodes.jobbus.JobBusImpl
Determines whether the job identified by the given handle has a regular result (instead of an exception).

I

isExecuted(H) - Method in class org.refcodes.jobbus.AbstractJobBus
Determines whether the job has been executed.
isExecuted(H) - Method in interface org.refcodes.jobbus.JobBus
Determines whether the job has been executed.
isExecuted(H) - Method in class org.refcodes.jobbus.JobBusProxyImpl
Determines whether the job has been executed.
isExecuted(String) - Method in class org.refcodes.jobbus.JobBusImpl
Determines whether the job has been executed.

J

JobBus<CTX,H> - Interface in org.refcodes.jobbus
The JobBus makes use of the Undoable pattern and is used to execute job (Undoable) instances by a client.
JobBusDirectory<CTX,H> - Interface in org.refcodes.jobbus
The JobBusDirectory is actually a plain extension of the JobBus providing access to all the handles currently being managed by the JobBus.
JobBusDirectoryImpl<CTX> - Class in org.refcodes.jobbus
The JobBusDirectoryImpl is a ready to use implementation of a composite JobBusDirectory extending the AbstractJobBusDirectory.
JobBusDirectoryImpl(CTX) - Constructor for class org.refcodes.jobbus.JobBusDirectoryImpl
Instantiates the JobBusDirectoryImpl with the provided context and and a pre-defined String objects generating HandleGenerator.
JobBusImpl<CTX> - Class in org.refcodes.jobbus
The JobBusImpl is a ready to use implementation of a composite JobBus wrapping a JobBusDirectory (actually a JobBus is sufficient) and delegating the method calls to the wrapped instances.
JobBusImpl(CTX) - Constructor for class org.refcodes.jobbus.JobBusImpl
Instantiates the JobBusImpl with the provided context and and a pre-defined String objects generating HandleGenerator.
JobBusImpl(JobBus<CTX, String>) - Constructor for class org.refcodes.jobbus.JobBusImpl
Instantiates the JobBusImpl by using the provided JobBus to which the method calls are delegated.
JobBusProxyImpl<CTX,H> - Class in org.refcodes.jobbus
The JobBusProxyImpl implements a JobBus proxy: a JobBus proxy can use a remote JobBus whilst only delegating those operations to the remote JobBus which can be handled on the remote system.
JobBusProxyImpl(JobBus<CTX, H>) - Constructor for class org.refcodes.jobbus.JobBusProxyImpl
Instantiates a new job bus proxy impl.
JobBusProxyImpl(JobBus<CTX, H>, ExecutorService) - Constructor for class org.refcodes.jobbus.JobBusProxyImpl
Instantiates a new job bus proxy impl.

L

lookupHandle(H) - Method in class org.refcodes.jobbus.AbstractJobBus
lookupHandle(H) - Method in class org.refcodes.jobbus.JobBusProxyImpl
lookupHandle(String) - Method in class org.refcodes.jobbus.JobBusImpl

O

org.refcodes.jobbus - package org.refcodes.jobbus
The refcodes-jobbus artifact makes use of the command pattern and provides a frame to work with commands (jobs) also in a distributed environment (e.g.

R

removeHandle(H) - Method in class org.refcodes.jobbus.AbstractJobBus
removeHandle(H) - Method in class org.refcodes.jobbus.JobBusProxyImpl
removeHandle(String) - Method in class org.refcodes.jobbus.JobBusImpl
reset(H) - Method in class org.refcodes.jobbus.AbstractJobBus
reset(H) - Method in class org.refcodes.jobbus.JobBusProxyImpl
reset(String) - Method in class org.refcodes.jobbus.JobBusImpl

W

waitForExecution(H) - Method in class org.refcodes.jobbus.AbstractJobBus
Waits till the job identified by the given handle finished execution by regularly terminating or by throwing an exception.
waitForExecution(H) - Method in interface org.refcodes.jobbus.JobBus
Waits till the job identified by the given handle finished execution by regularly terminating or by throwing an exception.
waitForExecution(H) - Method in class org.refcodes.jobbus.JobBusProxyImpl
Waits till the job identified by the given handle finished execution by regularly terminating or by throwing an exception.
waitForExecution(H, long) - Method in class org.refcodes.jobbus.AbstractJobBus
Waits till the job identified by the given handle finished execution by regularly terminating or by throwing an exception or till the timeout has been reached.
waitForExecution(H, long) - Method in interface org.refcodes.jobbus.JobBus
Waits till the job identified by the given handle finished execution by regularly terminating or by throwing an exception or till the timeout has been reached.
waitForExecution(H, long) - Method in class org.refcodes.jobbus.JobBusProxyImpl
Waits till the job identified by the given handle finished execution by regularly terminating or by throwing an exception or till the timeout has been reached.
waitForExecution(String) - Method in class org.refcodes.jobbus.JobBusImpl
Waits till the job identified by the given handle finished execution by regularly terminating or by throwing an exception.
waitForExecution(String, long) - Method in class org.refcodes.jobbus.JobBusImpl
Waits till the job identified by the given handle finished execution by regularly terminating or by throwing an exception or till the timeout has been reached.
A C E F G H I J L O R W