Skip navigation links
A C E F G H I J L O R 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.
AbstractJobBus(CTX, HandleGenerator<H>, ExecutorService) - 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.

E

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

F

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

G

getException(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
 
getException(String) - Method in class org.refcodes.jobbus.impls.JobBusImpl
 
getException(H) - Method in class org.refcodes.jobbus.impls.JobBusProxyImpl
 
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
 
getProgress(H) - Method in class org.refcodes.jobbus.impls.JobBusProxyImpl
 
getResult(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
 
getResult(JOB) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
 
getResult(JOB, long) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
 
getResult(JOB) - Method in class org.refcodes.jobbus.impls.JobBusImpl
 
getResult(JOB, long) - Method in class org.refcodes.jobbus.impls.JobBusImpl
 
getResult(String) - Method in class org.refcodes.jobbus.impls.JobBusImpl
 
getResult(H) - Method in class org.refcodes.jobbus.impls.JobBusProxyImpl
 
getResult(JOB) - Method in class org.refcodes.jobbus.impls.JobBusProxyImpl
 
getResult(JOB, long) - Method in class org.refcodes.jobbus.impls.JobBusProxyImpl
 
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
 
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
 
hasException(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
 
hasException(String) - Method in class org.refcodes.jobbus.impls.JobBusImpl
 
hasException(H) - Method in class org.refcodes.jobbus.impls.JobBusProxyImpl
 
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
 
hasFlush(H) - Method in class org.refcodes.jobbus.impls.JobBusProxyImpl
 
hasHandle(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
 
hasHandle(String) - Method in class org.refcodes.jobbus.impls.JobBusImpl
 
hasHandle(H) - Method in class org.refcodes.jobbus.impls.JobBusProxyImpl
 
hasProgress(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
 
hasProgress(String) - Method in class org.refcodes.jobbus.impls.JobBusImpl
 
hasProgress(H) - Method in class org.refcodes.jobbus.impls.JobBusProxyImpl
 
hasReset(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
 
hasReset(String) - Method in class org.refcodes.jobbus.impls.JobBusImpl
 
hasReset(H) - Method in class org.refcodes.jobbus.impls.JobBusProxyImpl
 
hasResult(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
 
hasResult(String) - Method in class org.refcodes.jobbus.impls.JobBusImpl
 
hasResult(H) - Method in class org.refcodes.jobbus.impls.JobBusProxyImpl
 
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
 
isExecuted(String) - Method in class org.refcodes.jobbus.impls.JobBusImpl
 
isExecuted(H) - Method in class org.refcodes.jobbus.impls.JobBusProxyImpl
 
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.
JobBusProxyImpl<CTX,H> - Class in org.refcodes.jobbus.impls
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.impls.JobBusProxyImpl
 
JobBusProxyImpl(JobBus<CTX, H>, ExecutorService) - Constructor for class org.refcodes.jobbus.impls.JobBusProxyImpl
 

L

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

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
 
removeHandle(H) - Method in class org.refcodes.jobbus.impls.JobBusProxyImpl
 
reset(H) - Method in class org.refcodes.jobbus.impls.AbstractJobBus
 
reset(String) - Method in class org.refcodes.jobbus.impls.JobBusImpl
 
reset(H) - Method in class org.refcodes.jobbus.impls.JobBusProxyImpl
 

W

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

Copyright © 2017. All rights reserved.