- 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.
- 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.
- 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
-
- 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.