Index

A C E F G H I J L O R S W 
All Classes|All Packages

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.SimpleJobBus
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.JobBusProxy
Executes the given job.
execute(Undoable<CTX, ?, ?>) - Method in class org.refcodes.jobbus.SimpleJobBus
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.JobBusProxy
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.SimpleJobBus
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.JobBusProxy
 
execute(Undoable<CTX, RET, E>, Consumer<RET>) - Method in class org.refcodes.jobbus.SimpleJobBus
Executes the given job and invokes the provided Consumer lambda (closure) upon finished execution.

F

flush(H) - Method in class org.refcodes.jobbus.AbstractJobBus
flush(H) - Method in class org.refcodes.jobbus.JobBusProxy
flush(String) - Method in class org.refcodes.jobbus.SimpleJobBus

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.JobBusProxy
Returns the exception of the job in case it terminated with an error.
getException(String) - Method in class org.refcodes.jobbus.SimpleJobBus
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.JobBusProxy
getProgress(String) - Method in class org.refcodes.jobbus.SimpleJobBus
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.JobBusProxy
Returns the result of the job as the result of executing the job.
getResult(String) - Method in class org.refcodes.jobbus.SimpleJobBus
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.JobBusProxy
Executes the job and waits for the job's result or an exception.
getResult(JOB) - Method in class org.refcodes.jobbus.SimpleJobBus
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.JobBusProxy
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.SimpleJobBus
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.JobBusProxy
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.SimpleJobBus
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.JobBusProxy
hasFlush(String) - Method in class org.refcodes.jobbus.SimpleJobBus
hasHandle(H) - Method in class org.refcodes.jobbus.AbstractJobBus
hasHandle(H) - Method in class org.refcodes.jobbus.JobBusProxy
hasHandle(String) - Method in class org.refcodes.jobbus.SimpleJobBus
hasProgress(H) - Method in class org.refcodes.jobbus.AbstractJobBus
hasProgress(H) - Method in class org.refcodes.jobbus.JobBusProxy
hasProgress(String) - Method in class org.refcodes.jobbus.SimpleJobBus
hasReset(H) - Method in class org.refcodes.jobbus.AbstractJobBus
hasReset(H) - Method in class org.refcodes.jobbus.JobBusProxy
hasReset(String) - Method in class org.refcodes.jobbus.SimpleJobBus
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.JobBusProxy
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.SimpleJobBus
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.JobBusProxy
Determines whether the job has been executed.
isExecuted(String) - Method in class org.refcodes.jobbus.SimpleJobBus
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.
JobBusProxy<CTX,​H> - Class in org.refcodes.jobbus
The JobBusProxy 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.
JobBusProxy(JobBus<CTX, H>) - Constructor for class org.refcodes.jobbus.JobBusProxy
Instantiates a new job bus proxy impl.
JobBusProxy(JobBus<CTX, H>, ExecutorService) - Constructor for class org.refcodes.jobbus.JobBusProxy
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.JobBusProxy
lookupHandle(String) - Method in class org.refcodes.jobbus.SimpleJobBus

O

org.refcodes.jobbus - module org.refcodes.jobbus
 
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.JobBusProxy
removeHandle(String) - Method in class org.refcodes.jobbus.SimpleJobBus
reset(H) - Method in class org.refcodes.jobbus.AbstractJobBus
reset(H) - Method in class org.refcodes.jobbus.JobBusProxy
reset(String) - Method in class org.refcodes.jobbus.SimpleJobBus

S

SimpleJobBus<CTX> - Class in org.refcodes.jobbus
The SimpleJobBus 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.
SimpleJobBus(CTX) - Constructor for class org.refcodes.jobbus.SimpleJobBus
Instantiates the SimpleJobBus with the provided context and and a pre-defined String objects generating HandleGenerator.
SimpleJobBus(JobBus<CTX, String>) - Constructor for class org.refcodes.jobbus.SimpleJobBus
Instantiates the SimpleJobBus by using the provided JobBus to which the method calls are delegated.
SimpleJobBusDirectory<CTX> - Class in org.refcodes.jobbus
The SimpleJobBusDirectory is a ready to use implementation of a composite JobBusDirectory extending the AbstractJobBusDirectory.
SimpleJobBusDirectory(CTX) - Constructor for class org.refcodes.jobbus.SimpleJobBusDirectory
Instantiates the SimpleJobBusDirectory with the provided context and and a pre-defined String objects generating HandleGenerator.

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.JobBusProxy
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.JobBusProxy
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.SimpleJobBus
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.SimpleJobBus
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 S W 
All Classes|All Packages