Skip navigation links
A C F G H I J L O R S W 

A

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

C

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

F

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

G

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

H

handleReferences() - Method in class org.refcodes.jobbus.impls.AbstractJobBus
Retrieves the list of objects referenced by the handles.
handleReferences() - Method in class org.refcodes.jobbus.impls.AbstractJobBusDirectory
Retrieves the list of objects referenced by the handles.
handles() - Method in class org.refcodes.jobbus.impls.AbstractJobBus
Returns the set of handles managed by this implementation.
handles() - Method in class org.refcodes.jobbus.impls.AbstractJobBusDirectory
Returns the set of handles managed by this implementation.
hasException(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
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.impls.JobBusImpl
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).
hasFlush(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
hasFlush(String) - Method in class org.refcodes.jobbus.impls.JobBusImpl
hasHandle(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
hasHandle(String) - Method in class org.refcodes.jobbus.impls.JobBusImpl
hasProgress(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
hasProgress(String) - Method in class org.refcodes.jobbus.impls.JobBusImpl
hasReset(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
hasReset(String) - Method in class org.refcodes.jobbus.impls.JobBusImpl
hasResult(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
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.impls.JobBusImpl
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).

I

isExecuted(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
Determines whether the job has been executed.
isExecuted(String) - Method in class org.refcodes.jobbus.impls.JobBusImpl
Determines whether the job has been executed.
isExecuted(H) - Method in interface org.refcodes.jobbus.JobBus
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.impls
The JobBusDirectoryImpl is a ready to use implementation of a composite JobBusDirectory extending the AbstractJobBusDirectory.
JobBusDirectoryImpl(CTX) - Constructor for class org.refcodes.jobbus.impls.JobBusDirectoryImpl
Instantiates the JobBusDirectoryImpl with the provided context and and a pre-defined String objects generating HandleGenerator.
JobBusImpl<CTX> - Class in org.refcodes.jobbus.impls
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(JobBus<CTX, String>) - Constructor for class org.refcodes.jobbus.impls.JobBusImpl
Instantiates the JobBusImpl by using the provided JobBus to which the method calls are delegated.
JobBusImpl(CTX) - Constructor for class org.refcodes.jobbus.impls.JobBusImpl
Instantiates the JobBusImpl with the provided context and and a pre-defined String objects generating HandleGenerator.

L

lookupHandle(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
lookupHandle(String) - Method in class org.refcodes.jobbus.impls.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.
org.refcodes.jobbus.impls - package org.refcodes.jobbus.impls
 

R

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

S

start(Undoable<CTX, ?, ?>) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
Executes the given job.
start(Undoable<CTX, ?, ?>) - Method in class org.refcodes.jobbus.impls.JobBusImpl
Executes the given job.
start(Undoable<CTX, ?, ?>) - Method in interface org.refcodes.jobbus.JobBus
Executes the given job.

W

waitForExecution(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
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.impls.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(String) - Method in class org.refcodes.jobbus.impls.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.impls.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.
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, 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.
A C F G H I J L O R S W 
Skip navigation links

Copyright © 2015. All rights reserved.