Skip navigation links
A B C D E F G H I J L N P R S T U V W 

A

AbstractParallelizableJob - Class in ca.eandb.jdcp.job
An abstract ParallelizableJob that provides a default implementation for the Job interface.
AbstractParallelizableJob() - Constructor for class ca.eandb.jdcp.job.AbstractParallelizableJob
 
addJob(ParallelizableJob) - Method in class ca.eandb.jdcp.job.CompositeParallelizableJob
 
addJobs(Collection<ParallelizableJob>) - Method in class ca.eandb.jdcp.job.CompositeParallelizableJob
 
archiveState(Archive) - Method in class ca.eandb.jdcp.job.AbstractParallelizableJob
Saves or restores the state of this job from an archive.
archiveState(Archive) - Method in class ca.eandb.jdcp.job.DiagnosticJob
 
archiveState(Archive) - Method in class ca.eandb.jdcp.job.DummyParallelizableJob
 
archiveState(Archive) - Method in class ca.eandb.jdcp.job.ExceptionTestJob
 
asCancelled() - Method in class ca.eandb.jdcp.remote.JobStatus
Creates a copy of this JobStatus with the state set to JobState.CANCELLED.
asComplete() - Method in class ca.eandb.jdcp.remote.JobStatus
Creates a copy of this JobStatus with the state set to JobState.COMPLETE.
authenticate(String, String, UUID) - Method in interface ca.eandb.jdcp.remote.AuthenticationService
Authenticates a user.
AuthenticationService - Interface in ca.eandb.jdcp.remote
A remote service for authenticating JobService users.

B

build() - Method in class ca.eandb.jdcp.job.ParallelizableJobRunner.Builder
Creates the configured ParallelizableJobRunner instance.

C

ca.eandb.jdcp - package ca.eandb.jdcp
 
ca.eandb.jdcp.job - package ca.eandb.jdcp.job
 
ca.eandb.jdcp.remote - package ca.eandb.jdcp.remote
 
ca.eandb.jdcp.server - package ca.eandb.jdcp.server
 
cancelJob(UUID) - Method in interface ca.eandb.jdcp.remote.JobService
Cancels the specified job.
CompositeParallelizableJob - Class in ca.eandb.jdcp.job
A ParallelizableJob that combines multiple jobs into one.
CompositeParallelizableJob() - Constructor for class ca.eandb.jdcp.job.CompositeParallelizableJob
 
CompositeParallelizableJob(Collection<ParallelizableJob>) - Constructor for class ca.eandb.jdcp.job.CompositeParallelizableJob
 
connect(String, String, String) - Static method in class ca.eandb.jdcp.JdcpUtil
Connects to a JDCP server.
createFileOutputStream(String) - Method in class ca.eandb.jdcp.job.AbstractParallelizableJob
Creates a FileOutputStream for a file in this job's working directory.
createFileOutputStream(String) - Method in interface ca.eandb.jdcp.job.HostService
Creates a file in the job's working directory.
createJob(String) - Method in interface ca.eandb.jdcp.remote.JobService
Creates a new job on the server.
createRandomAccessFile(String) - Method in class ca.eandb.jdcp.job.AbstractParallelizableJob
Creates a new RandomAccessFile in this job's working directory.
createRandomAccessFile(String) - Method in interface ca.eandb.jdcp.job.HostService
Creates a file in the job's working directory.

D

DEFAULT_PORT - Static variable in class ca.eandb.jdcp.JdcpUtil
The default port that a JDCP server listens on.
DEFAULT_PRIORITY - Static variable in interface ca.eandb.jdcp.remote.JobService
The default job priority.
DelegationException - Exception in ca.eandb.jdcp.remote
A RuntimeException caused by failure of a hub to delegate a JobService request to a connected server.
DelegationException() - Constructor for exception ca.eandb.jdcp.remote.DelegationException
Creates a new DelegationException.
DelegationException(String, Throwable) - Constructor for exception ca.eandb.jdcp.remote.DelegationException
Creates a new DelegationException.
DelegationException(String) - Constructor for exception ca.eandb.jdcp.remote.DelegationException
Creates a new DelegationException.
DelegationException(Throwable) - Constructor for exception ca.eandb.jdcp.remote.DelegationException
Creates a new DelegationException.
DiagnosticJob - Class in ca.eandb.jdcp.job
A ParallelizableJob for diagnostic purposes.
DiagnosticJob() - Constructor for class ca.eandb.jdcp.job.DiagnosticJob
Creates a new DiagnosticJob.
DummyParallelizableJob - Class in ca.eandb.jdcp.job
A dummy parallelizable job to test remote method invocation.
DummyParallelizableJob(int, int, int) - Constructor for class ca.eandb.jdcp.job.DummyParallelizableJob
Initializes the number of tasks to serve and the amount of time to delay to simulate the processing of a task.

E

ExceptionTestJob - Class in ca.eandb.jdcp.job
A ParallelizableJob to test handling of exceptions.
ExceptionTestJob() - Constructor for class ca.eandb.jdcp.job.ExceptionTestJob
Creates a new DiagnosticJob.

F

finish() - Method in class ca.eandb.jdcp.job.AbstractParallelizableJob
 
finish() - Method in class ca.eandb.jdcp.job.CompositeParallelizableJob
 
finish() - Method in class ca.eandb.jdcp.job.DiagnosticJob
 
finish() - Method in class ca.eandb.jdcp.job.DummyParallelizableJob
 
finish() - Method in class ca.eandb.jdcp.job.ExceptionTestJob
 
finish() - Method in class ca.eandb.jdcp.job.JobExecutionWrapper
 
finish() - Method in interface ca.eandb.jdcp.job.LifeCycleManageable
Performs any final actions required for this ParallelizableJob.
finish() - Method in class ca.eandb.jdcp.job.TaskRandomizedJob
 
finish() - Method in class ca.eandb.jdcp.job.TaskReversedJob
 

G

getClassDefinition(String, UUID) - Method in interface ca.eandb.jdcp.remote.TaskService
Gets the definition of the given class associated with the specified job.
getClassDigest(String) - Method in interface ca.eandb.jdcp.remote.JobService
Gets the MD5 digest for the most recent definition of the given class.
getClassDigest(String, UUID) - Method in interface ca.eandb.jdcp.remote.TaskService
Gets the MD5 digest for the definition of the given class associated with the specified job.
getDescription() - Method in class ca.eandb.jdcp.remote.JobStatus
Gets a description of the job.
getEventId() - Method in class ca.eandb.jdcp.remote.JobStatus
Gets the event ID.
getFinishedTasks(UUID[], int[]) - Method in interface ca.eandb.jdcp.remote.TaskService
Determines if any of the specified tasks are no longer outstanding.
getHomeDirectory() - Static method in class ca.eandb.jdcp.JdcpUtil
Gets the folder at which JDCP application data is stored.
getHostService() - Static method in class ca.eandb.jdcp.JdcpUtil
Gets the currently active HostService.
getHostService() - Static method in class ca.eandb.jdcp.server.ServerUtil
Gets the active HostService for this thread.
getJobId() - Method in class ca.eandb.jdcp.job.TaskDescription
Gets the UUID of the job whose TaskWorker should perform this task.
getJobId() - Method in class ca.eandb.jdcp.remote.JobStatus
Gets the UUID that identifies the job.
getJobStatus(UUID) - Method in interface ca.eandb.jdcp.remote.JobService
Gets the current status of the specified job.
getNextTask() - Method in class ca.eandb.jdcp.job.CompositeParallelizableJob
 
getNextTask() - Method in class ca.eandb.jdcp.job.DiagnosticJob
 
getNextTask() - Method in class ca.eandb.jdcp.job.DummyParallelizableJob
 
getNextTask() - Method in class ca.eandb.jdcp.job.ExceptionTestJob
 
getNextTask() - Method in class ca.eandb.jdcp.job.JobExecutionWrapper
 
getNextTask() - Method in interface ca.eandb.jdcp.job.ParallelizableJob
Gets the next task to be performed.
getNextTask() - Method in class ca.eandb.jdcp.job.TaskRandomizedJob
 
getNextTask() - Method in class ca.eandb.jdcp.job.TaskReversedJob
 
getProgress() - Method in class ca.eandb.jdcp.remote.JobStatus
Gets a value indicating the progress of the job (complete = 1.0).
getState() - Method in class ca.eandb.jdcp.remote.JobStatus
Gets the current state of the job (new, running, complete, etc.).
getStatus() - Method in class ca.eandb.jdcp.remote.JobStatus
Gets a description of the status of the job.
getTask() - Method in class ca.eandb.jdcp.job.TaskDescription
Gets the Object describing the task to be performed.
getTaskId() - Method in class ca.eandb.jdcp.job.TaskDescription
The ID of the task to be performed.
getTaskWorker(UUID) - Method in interface ca.eandb.jdcp.remote.TaskService
Gets the task worker for a job.

H

HostService - Interface in ca.eandb.jdcp.job
Provides access to host services on the server for a ParallelizableJob running in a secure sandbox.

I

initialize() - Static method in class ca.eandb.jdcp.JdcpUtil
Performs initialization for the currently running JDCP application.
initialize() - Method in class ca.eandb.jdcp.job.AbstractParallelizableJob
 
initialize() - Method in class ca.eandb.jdcp.job.CompositeParallelizableJob
 
initialize() - Method in class ca.eandb.jdcp.job.JobExecutionWrapper
 
initialize() - Method in interface ca.eandb.jdcp.job.LifeCycleManageable
Sets up this ParallelizableJob on the machine hosting the job (not necessarily the same machine as the one processing the tasks for this job).
initialize() - Method in class ca.eandb.jdcp.job.TaskRandomizedJob
 
initialize() - Method in class ca.eandb.jdcp.job.TaskReversedJob
 
isCancelled() - Method in class ca.eandb.jdcp.remote.JobStatus
Gets a value indicating if the job has been cancelled.
isComplete() - Method in class ca.eandb.jdcp.job.CompositeParallelizableJob
 
isComplete() - Method in class ca.eandb.jdcp.job.DiagnosticJob
 
isComplete() - Method in class ca.eandb.jdcp.job.DummyParallelizableJob
 
isComplete() - Method in class ca.eandb.jdcp.job.ExceptionTestJob
 
isComplete() - Method in class ca.eandb.jdcp.job.JobExecutionWrapper
 
isComplete() - Method in interface ca.eandb.jdcp.job.ParallelizableJob
Gets a value that indicates if this job is complete (i.e., if results for all tasks have been submitted).
isComplete() - Method in class ca.eandb.jdcp.job.TaskRandomizedJob
 
isComplete() - Method in class ca.eandb.jdcp.job.TaskReversedJob
 
isComplete() - Method in class ca.eandb.jdcp.remote.JobStatus
Gets a value indicating if the job is complete.
isProgressIndeterminant() - Method in class ca.eandb.jdcp.remote.JobStatus
Gets a value indicating if the progress of the job is indeterminant.

J

JdcpUtil - Class in ca.eandb.jdcp
Convenience methods for working with JDCP.
JobExecutionException - Exception in ca.eandb.jdcp.job
An Exception wrapper for exceptions thrown by a ParallelizableJob.
JobExecutionException(Throwable) - Constructor for exception ca.eandb.jdcp.job.JobExecutionException
Creates a new JobExecutionException.
JobExecutionException(String, Throwable) - Constructor for exception ca.eandb.jdcp.job.JobExecutionException
Creates a new JobExecutionException.
JobExecutionWrapper - Class in ca.eandb.jdcp.job
A ParallelizableJob decorator that wraps exceptions thrown by the inner ParallelizableJob in a JobExecutionException.
JobExecutionWrapper(ParallelizableJob) - Constructor for class ca.eandb.jdcp.job.JobExecutionWrapper
Creates a new JobExecutionWrapper.
JobService - Interface in ca.eandb.jdcp.remote
A remote service for accepting ParallelizableJobs, managing the distribution of tasks to workers, and aggregating the results submitted by workers.
JobState - Enum in ca.eandb.jdcp.remote
Indicates the state of a job hosted on the server.
JobStatus - Class in ca.eandb.jdcp.remote
Represents the status of a job hosted on the server.
JobStatus(UUID, String, JobState, double, String) - Constructor for class ca.eandb.jdcp.remote.JobStatus
Creates a new JobStatus with no event ID.
JobStatus(UUID, String, JobState, String) - Constructor for class ca.eandb.jdcp.remote.JobStatus
Creates a new JobStatus with no event ID and indeterminant progress.
JobStatusMonitor - Class in ca.eandb.jdcp.remote
Processes JobStatus events and updates ProgressMonitors generated from a provided ProgressMonitorFactory accordingly.
JobStatusMonitor(ProgressMonitorFactory) - Constructor for class ca.eandb.jdcp.remote.JobStatusMonitor
Creates a JobStatusMonitor.

L

LifeCycleManageable - Interface in ca.eandb.jdcp.job
 

N

newBuilder() - Static method in class ca.eandb.jdcp.job.ParallelizableJobRunner
Creates a new Builder for initializing a ParallelizableJobRunner.

P

ParallelizableJob - Interface in ca.eandb.jdcp.job
Represents a job that can be split into smaller chunks.
ParallelizableJobRunner - Class in ca.eandb.jdcp.job
A Job that runs a ParallelizableJob using multiple threads.
ParallelizableJobRunner(ParallelizableJob, File, Executor, int, ProgressMonitorFactory, ProgressMonitor) - Constructor for class ca.eandb.jdcp.job.ParallelizableJobRunner
Creates a new ParallelizableJobRunner.
ParallelizableJobRunner(ParallelizableJob, File, int, ProgressMonitorFactory, ProgressMonitor) - Constructor for class ca.eandb.jdcp.job.ParallelizableJobRunner
Creates a new ParallelizableJobRunner.
ParallelizableJobRunner(ParallelizableJob, File, Executor, int) - Constructor for class ca.eandb.jdcp.job.ParallelizableJobRunner
Creates a new ParallelizableJobRunner.
ParallelizableJobRunner(ParallelizableJob, String, Executor, int) - Constructor for class ca.eandb.jdcp.job.ParallelizableJobRunner
Creates a new ParallelizableJobRunner.
ParallelizableJobRunner(ParallelizableJob, File, int) - Constructor for class ca.eandb.jdcp.job.ParallelizableJobRunner
Creates a new ParallelizableJobRunner.
ParallelizableJobRunner(ParallelizableJob, String, int) - Constructor for class ca.eandb.jdcp.job.ParallelizableJobRunner
Creates a new ParallelizableJobRunner.
ParallelizableJobRunner.Builder - Class in ca.eandb.jdcp.job
A Builder for creating ParallelizableJobRunner instances.
performTask(Object, ProgressMonitor) - Method in interface ca.eandb.jdcp.job.TaskWorker
Process a task.
PROTOCOL_VERSION_ID - Static variable in class ca.eandb.jdcp.JdcpUtil
Uniquely identifies the protocol used for communication between clients and a server.
ProtocolVersionException - Exception in ca.eandb.jdcp.remote
An Exception that is thrown to indicate that the client is not compatible with the server.
ProtocolVersionException() - Constructor for exception ca.eandb.jdcp.remote.ProtocolVersionException
Creates a new ProtocolVersionException.
ProtocolVersionException(String) - Constructor for exception ca.eandb.jdcp.remote.ProtocolVersionException
Creates a new ProtocolVersionException.

R

registerTaskService(String, TaskService, String, String, String) - Static method in class ca.eandb.jdcp.JdcpUtil
Connects to a job server and provides a source of tasks to be processed.
registerTaskService(String, TaskService) - Method in interface ca.eandb.jdcp.remote.JobService
Registers a TaskService to receive tasks from an external source.
reportException(UUID, int, Exception) - Method in interface ca.eandb.jdcp.remote.TaskService
Report that an exception was thrown during the execution of an assigned task.
requestTask() - Method in interface ca.eandb.jdcp.remote.TaskService
Gets a task to perform.
restoreState(ObjectInput) - Method in class ca.eandb.jdcp.job.AbstractParallelizableJob
 
restoreState(ObjectInput) - Method in class ca.eandb.jdcp.job.CompositeParallelizableJob
 
restoreState(ObjectInput) - Method in class ca.eandb.jdcp.job.JobExecutionWrapper
 
restoreState(ObjectInput) - Method in interface ca.eandb.jdcp.job.LifeCycleManageable
Notifies the job that it is about to be resumed after having been suspended.
restoreState(ObjectInput) - Method in class ca.eandb.jdcp.job.TaskRandomizedJob
 
restoreState(ObjectInput) - Method in class ca.eandb.jdcp.job.TaskReversedJob
 
run() - Method in class ca.eandb.jdcp.job.ParallelizableJobRunner
 

S

saveState(ObjectOutput) - Method in class ca.eandb.jdcp.job.AbstractParallelizableJob
 
saveState(ObjectOutput) - Method in class ca.eandb.jdcp.job.CompositeParallelizableJob
 
saveState(ObjectOutput) - Method in class ca.eandb.jdcp.job.JobExecutionWrapper
 
saveState(ObjectOutput) - Method in interface ca.eandb.jdcp.job.LifeCycleManageable
Notifies the job that it is about to be suspended (for example, if the server application is about to be shut down).
saveState(ObjectOutput) - Method in class ca.eandb.jdcp.job.TaskRandomizedJob
 
saveState(ObjectOutput) - Method in class ca.eandb.jdcp.job.TaskReversedJob
 
ServerUtil - Class in ca.eandb.jdcp.server
Provides access to information about the currently running job server.
setClassDefinition(String, byte[]) - Method in interface ca.eandb.jdcp.remote.JobService
Sets the class definition for the specified class.
setClassDefinition(String, UUID, byte[]) - Method in interface ca.eandb.jdcp.remote.JobService
Sets the definition of a given class only for the specified job.
setExecutor(Executor) - Method in class ca.eandb.jdcp.job.ParallelizableJobRunner.Builder
Sets the executor to use to run the threads for processing individual tasks.
setHostService(HostService) - Method in class ca.eandb.jdcp.job.AbstractParallelizableJob
 
setHostService(HostService) - Method in class ca.eandb.jdcp.job.CompositeParallelizableJob
 
setHostService(HostService) - Method in class ca.eandb.jdcp.job.JobExecutionWrapper
 
setHostService(HostService) - Method in interface ca.eandb.jdcp.job.ParallelizableJob
Sets the HostService object that provides secure access to the file system on the machine hosting this ParallelizableJob.
setHostService(HostService) - Method in class ca.eandb.jdcp.job.TaskRandomizedJob
 
setHostService(HostService) - Method in class ca.eandb.jdcp.job.TaskReversedJob
 
setIdleTime(int) - Method in interface ca.eandb.jdcp.remote.JobService
Sets the amount of time (in seconds) that workers should idle when there are no tasks to be performed.
setJob(ParallelizableJob) - Method in class ca.eandb.jdcp.job.ParallelizableJobRunner.Builder
Sets the job to be executed by the ParallelizableJobRunner.
setJobPriority(UUID, int) - Method in interface ca.eandb.jdcp.remote.JobService
Sets the priority of the specified job.
setMaxConcurrentWorkers(int) - Method in class ca.eandb.jdcp.job.ParallelizableJobRunner.Builder
Sets the maximum number of concurrent tasks to run.
setProgressMonitor(ProgressMonitor) - Method in class ca.eandb.jdcp.job.ParallelizableJobRunner.Builder
Sets the ProgressMonitor to use to report overall progress to.
setProgressMonitorFactory(ProgressMonitorFactory) - Method in class ca.eandb.jdcp.job.ParallelizableJobRunner.Builder
Sets the ProgressMonitorFactory to use to create ProgressMonitors for individual tasks.
setWorkingDirectory(File) - Method in class ca.eandb.jdcp.job.ParallelizableJobRunner.Builder
Sets the working directory to use for writing results.
setWorkingDirectory(String) - Method in class ca.eandb.jdcp.job.ParallelizableJobRunner.Builder
Sets the working directory to use for writing results.
submitJob(ParallelizableJob, String, String, String, String) - Static method in class ca.eandb.jdcp.JdcpUtil
Submits a job to a server for processing.
submitJob(Serialized<ParallelizableJob>, UUID) - Method in interface ca.eandb.jdcp.remote.JobService
Submits a job previously created using JobService.createJob(String).
submitJob(Serialized<ParallelizableJob>, String) - Method in interface ca.eandb.jdcp.remote.JobService
Submits a new job to be processed.
submitTaskResults(Object, Object, ProgressMonitor) - Method in class ca.eandb.jdcp.job.CompositeParallelizableJob
 
submitTaskResults(Object, Object, ProgressMonitor) - Method in class ca.eandb.jdcp.job.DiagnosticJob
 
submitTaskResults(Object, Object, ProgressMonitor) - Method in class ca.eandb.jdcp.job.DummyParallelizableJob
 
submitTaskResults(Object, Object, ProgressMonitor) - Method in class ca.eandb.jdcp.job.ExceptionTestJob
 
submitTaskResults(Object, Object, ProgressMonitor) - Method in class ca.eandb.jdcp.job.JobExecutionWrapper
 
submitTaskResults(Object, Object, ProgressMonitor) - Method in interface ca.eandb.jdcp.job.ParallelizableJob
Submits the results of a task.
submitTaskResults(Object, Object, ProgressMonitor) - Method in class ca.eandb.jdcp.job.TaskRandomizedJob
 
submitTaskResults(Object, Object, ProgressMonitor) - Method in class ca.eandb.jdcp.job.TaskReversedJob
 
submitTaskResults(UUID, int, Serialized<Object>) - Method in interface ca.eandb.jdcp.remote.TaskService
Submits the results of a task.

T

TaskDescription - Class in ca.eandb.jdcp.job
A description of a task assigned by a JobMasterService.
TaskDescription(UUID, int, Object) - Constructor for class ca.eandb.jdcp.job.TaskDescription
Initializes the task description.
TaskRandomizedJob - Class in ca.eandb.jdcp.job
A ParallelizableJob decorator that randomizes the order in which its tasks are assigned.
TaskRandomizedJob(ParallelizableJob) - Constructor for class ca.eandb.jdcp.job.TaskRandomizedJob
Creates a new TaskRandomziedJob.
TaskReversedJob - Class in ca.eandb.jdcp.job
A ParallelizableJob decorator that randomizes the order in which its tasks are assigned.
TaskReversedJob(ParallelizableJob) - Constructor for class ca.eandb.jdcp.job.TaskReversedJob
Creates a new TaskRandomziedJob.
TaskService - Interface in ca.eandb.jdcp.remote
A remote service used by workers to perform tasks for ParallelizableJobs.
TaskWorker - Interface in ca.eandb.jdcp.job
Processes a task that is part of a parallelizable job.

U

unregisterTaskService(String) - Method in interface ca.eandb.jdcp.remote.JobService
Unregisters a TaskService.
updateStatus(JobStatus) - Method in class ca.eandb.jdcp.remote.JobStatusMonitor
Updates the appropriate ProgressMonitor (creating one if necessary) according to the new status of the job.

V

valueOf(String) - Static method in enum ca.eandb.jdcp.remote.JobState
Returns the enum constant of this type with the specified name.
values() - Static method in enum ca.eandb.jdcp.remote.JobState
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitForJobStatusChange(long, long) - Method in interface ca.eandb.jdcp.remote.JobService
Waits for a status change for any job hosted on this server.
waitForJobStatusChange(UUID, long, long) - Method in interface ca.eandb.jdcp.remote.JobService
Waits for a status change for the specified job.
withIndeterminantProgress() - Method in class ca.eandb.jdcp.remote.JobStatus
Creates a copy of this JobStatus with the progress set to an indeterminant value (Double.NaN).
withNewEventId() - Method in class ca.eandb.jdcp.remote.JobStatus
Creates a copy of this JobStatus with an auto-generated event ID.
withProgress(double) - Method in class ca.eandb.jdcp.remote.JobStatus
Creates a copy of this JobStatus with the progress set to the specified value.
withStatus(String) - Method in class ca.eandb.jdcp.remote.JobStatus
Creates a copy of this JobStatus with the status string set to the specified value.
worker() - Method in class ca.eandb.jdcp.job.CompositeParallelizableJob
 
worker() - Method in class ca.eandb.jdcp.job.DiagnosticJob
 
worker() - Method in class ca.eandb.jdcp.job.DummyParallelizableJob
 
worker() - Method in class ca.eandb.jdcp.job.ExceptionTestJob
 
worker() - Method in class ca.eandb.jdcp.job.JobExecutionWrapper
 
worker() - Method in interface ca.eandb.jdcp.job.ParallelizableJob
Gets the task worker to use to process the tasks of this job.
worker() - Method in class ca.eandb.jdcp.job.TaskRandomizedJob
 
worker() - Method in class ca.eandb.jdcp.job.TaskReversedJob
 
A B C D E F G H I J L N P R S T U V W 
Skip navigation links

Copyright © 2016. All rights reserved.