|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.slamd.job.OptimizingJob
public class OptimizingJob
This class defines an optimizing job, which is a special kind of job that has the ability to execute the same job multiple times varying only the number of threads per client in an attempt to automatically determine the highest or lowest value for a particular statistic.
| Field Summary | |
|---|---|
static java.lang.String |
ELEMENT_ACTUAL_START_TIME
The name of the encoded element that holds the actual start time. |
static java.lang.String |
ELEMENT_ACTUAL_STOP_TIME
The name of the encoded element that holds the actual stop time. |
static java.lang.String |
ELEMENT_COLLECTION_INTERVAL
The name of the encoded element that holds the collection interval. |
static java.lang.String |
ELEMENT_DELAY_BETWEEN_ITERATIONS
The name of the encoded element that holds the delay between iterations. |
static java.lang.String |
ELEMENT_DEPENDENCIES
The name of the encoded element that holds the dependencies. |
static java.lang.String |
ELEMENT_DESCRIPTION
The name of the encoded element that holds the job description. |
static java.lang.String |
ELEMENT_DISPLAY_IN_READ_ONLY
The name of the encoded element that indicates whether the job should be displayed in restricted read-only mode. |
static java.lang.String |
ELEMENT_DURATION
The name of the encoded element that holds the scheduled duration. |
static java.lang.String |
ELEMENT_FOLDER_NAME
The name of the encoded element that holds the job folder name. |
static java.lang.String |
ELEMENT_INCLUDE_THREADS_IN_DESCRIPTION
The name of the encoded element that indicates whether to include the number of threads in the job descriptions. |
static java.lang.String |
ELEMENT_ITERATION_IDS
The name of the encoded element that holds the job IDs of the standard iterations. |
static java.lang.String |
ELEMENT_JOB_CLASS
The name of the encoded element that holds the job class name. |
static java.lang.String |
ELEMENT_JOB_GROUP
The name of the encoded element that holds the job group name. |
static java.lang.String |
ELEMENT_JOB_STATE
The name of the encoded element that holds the job state. |
static java.lang.String |
ELEMENT_MAX_NONIMPROVING
The name of the encoded element that holds the maximum allowed nonimproving iterations. |
static java.lang.String |
ELEMENT_MAX_THREADS
The name of the encoded element that holds the maximum number of threads to use. |
static java.lang.String |
ELEMENT_MIN_THREADS
The name of the encoded element that holds the minimum number of threads to use. |
static java.lang.String |
ELEMENT_MONITOR_CLIENTS
The name of the encoded element that holds the requested monitor clients. |
static java.lang.String |
ELEMENT_MONITOR_CLIENTS_IF_AVAILABLE
The name of the encoded element that indicates whether to monitor clients if they are also running resource monitor clients. |
static java.lang.String |
ELEMENT_NOTIFY_ADDRESSES
The name of the encoded element that holds the addresses of the users to notify when the optimizing job is done running. |
static java.lang.String |
ELEMENT_NUM_CLIENTS
The name of the encoded element that holds the number of clients. |
static java.lang.String |
ELEMENT_OPTIMIZATION_ALGORITHM
The name of the encoded element that holds the information about the optimization algorithm. |
static java.lang.String |
ELEMENT_OPTIMIZING_JOB_ID
The name of the encoded element that holds the optimizing job ID. |
static java.lang.String |
ELEMENT_PARAMETERS
The name of the encoded element that holds the job parameters. |
static java.lang.String |
ELEMENT_PAUSE_REQUESTED
The name of th eencoded element that indicates whether the optimizing job should make the next iteration disabled when it is scheduled. |
static java.lang.String |
ELEMENT_REQUESTED_CLIENTS
The name of the encoded element that holds the requested clients. |
static java.lang.String |
ELEMENT_RERUN_BEST_ITERATION
The name of the encoded element that indicates whether to rerun the best iteration. |
static java.lang.String |
ELEMENT_RERUN_DURATION
The name of the encoded element that holds the scheduled duration for the rerun iteration. |
static java.lang.String |
ELEMENT_RERUN_ID
The name of the encoded element that holds the job IDs of the rerun iteration. |
static java.lang.String |
ELEMENT_START_TIME
The name of the encoded element that holds the scheduled start time. |
static java.lang.String |
ELEMENT_STOP_REASON
The name of the encoded element that holds the stop reason. |
static java.lang.String |
ELEMENT_THREAD_INCREMENT
The name of the encoded element that holds the thread increment. |
static java.lang.String |
ELEMENT_THREAD_STARTUP_DELAY
The name of the encoded element that holds the thread startup delay. |
| Constructor Summary | |
|---|---|
OptimizingJob(SLAMDServer slamdServer,
java.lang.String optimizingJobID,
OptimizationAlgorithm optimizationAlgorithm,
JobClass jobClass,
java.lang.String folderName,
java.lang.String description,
boolean includeThreadsInDescription,
java.util.Date startTime,
int duration,
int delayBetweenIterations,
int numClients,
java.lang.String[] requestedClients,
java.lang.String[] monitorClients,
boolean monitorClientsIfAvailable,
int minThreads,
int maxThreads,
int threadIncrement,
int collectionInterval,
int maxNonImproving,
java.lang.String[] notifyAddresses,
boolean reRunBestIteration,
int reRunDuration,
ParameterList parameters,
boolean displayInReadOnlyMode)
Creates a new instance of an optimizing job based on the provided information. |
|
OptimizingJob(SLAMDServer slamdServer,
java.lang.String optimizingJobID,
OptimizationAlgorithm optimizationAlgorithm,
Job baseJob,
java.lang.String folderName,
java.lang.String description,
boolean includeThreadsInDescription,
java.util.Date startTime,
int duration,
int delayBetweenIterations,
int numClients,
java.lang.String[] requestedClients,
java.lang.String[] monitorClients,
boolean monitorClientsIfAvailable,
int minThreads,
int maxThreads,
int threadIncrement,
int collectionInterval,
int maxNonImproving,
java.lang.String[] notifyAddresses,
boolean reRunBestIteration,
int reRunDuration,
boolean displayInReadOnlyMode)
Creates a new instance of an optimizing job based on the provided information. |
|
| Method Summary | |
|---|---|
void |
cancel()
Handles the work of cancelling this optimizing job. |
void |
cancelPause()
Indicates that this optimizing job does not need to be paused before the next iteration. |
int |
compareTo(java.lang.Object o)
Compares this optimizing job with the provided object to determine the relative order of the two in a sorted list. |
static OptimizingJob |
decode(SLAMDServer slamdServer,
byte[] encodedOptimizingJob)
Decodes the provided byte array as an optimizing job. |
static OptimizingJob |
decodeSummary(SLAMDServer slamdServer,
byte[] encodedOptimizingJob)
Decodes the provided byte array as an optimizing job, but only including summary information. |
boolean |
displayInReadOnlyMode()
Indicates whether this optimizing job should be displayed in restricted read-only mode. |
boolean |
doneRunning()
Indicates whether the optimization process has completed (i.e., no additional iterations will be performed, for whatever reason). |
byte[] |
encode()
Encodes information about this optimizing job to a byte array suitable for storage in the configuration database. |
java.util.Date |
getActualStartTime()
Retrieves the time at which the first iteration of this job actually started running. |
java.util.Date |
getActualStopTime()
Retrieves the time at which the last iteration of this job actually completed running. |
Job[] |
getAssociatedJobs()
Retrieves the set of jobs scheduled as iterations of this optimizing job. |
int |
getCollectionInterval()
Retrieves the statistics collection interval that should be used for each iteration of this optimizing job. |
int |
getDelayBetweenIterations()
Retrieves the length of time in seconds that should be scheduled between iterations of this optimizing job. |
java.lang.String[] |
getDependencies()
Retrieves the set of dependencies associated with this optimizing job. |
java.lang.String |
getDescription()
Retrieves the base description for this optimizing job. |
int |
getDuration()
Retrieves the maximum length of time that any iteration of this optimizing job should be allowed to run. |
java.lang.String |
getFolderName()
Retrieves the name of the job folder in which this optimizing job is located. |
JobClass |
getJobClass()
Retrieves the job class associated with this optimizing job. |
java.lang.String |
getJobClassDescription()
Retrieves the description for the job class associated with this optimizing job. |
java.lang.String |
getJobClassName()
Retrieves the name of the job class associated with this optimizing job. |
java.lang.String |
getJobGroup()
Retrieves the name of the job group with which this optimizing job is associated. |
java.lang.String |
getJobName()
Retrieves the job name for the job class associated with this optimizing job. |
int |
getJobState()
Retrieves the current state of this optimizing job. |
java.lang.String |
getJobStateString()
Retrieves the string representation of the current state for this optimizing job. |
int |
getMaxNonImproving()
Retrieves the maximum number of consecutive non-improving iterations that will be allowed before the job is determined to have found the optimum value. |
int |
getMaxThreads()
Retrieves the maximum number of threads that should be used in an iteration of this optimizing job. |
int |
getMinThreads()
Retrieves the minimum number of threads that should be used in an iteration of this optimizing job. |
java.lang.String[] |
getNotifyAddresses()
Retrieves the e-mail address(es) of the user(s) that should be notified whenever the optimization process has completed. |
int |
getNumClients()
Retrieves the number of clients that should be used to run each iteration of this optimizing job. |
Job |
getOptimalIteration()
Retrieves the job that was the optimal iteration for this optimizing job. |
java.lang.String |
getOptimalJobID()
Retrieves the job ID of the optimal iteration. |
int |
getOptimalThreadCount()
Retrieves the optimal thread count that has been identified. |
double |
getOptimalValue()
Retrieves the optimal value that has been identified. |
OptimizationAlgorithm |
getOptimizationAlgorithm()
Retrieves the optimization algorithm associated with this optimizing job. |
ParameterList |
getOptimizationParameters()
Retrieves the set of parameters associated with the optimization algorithm. |
ParameterList |
getOptimizationParameterStubs()
Retrieves the set of parameter stubs associated with the optimization algorithm. |
java.lang.String |
getOptimizingJobID()
Retrieves the unique ID associated with this optimizing job. |
ParameterList |
getParameters()
Retrieves the parameter list associated with this optimizing job. |
ParameterList |
getParameterStubs()
Retrieves the set of parameter stubs associated with this optimizing job. |
java.lang.String[] |
getRequestedClients()
Retrieves the set of clients that have been requested to run each iteration of this optimizing job. |
int |
getReRunDuration()
Retrieves the duration that should be used when re-running the best iteration of the optimizing job. |
Job |
getReRunIteration()
Retrieves the job iteration that was a re-run of the best iteration for this optimizing job. |
java.lang.String[] |
getResourceMonitorClients()
Retrieves the set of resource monitor clients that have been requested for this optimizing job. |
java.util.Date |
getStartTime()
Retrieves the time at which the first iteration of this optimizing job should start running. |
java.lang.String |
getStopReason()
Retrieves the reason that the job stopped running. |
int |
getThreadIncrement()
Retrieves the increment that should be used when increasing the number of threads used between iterations of this optimizing job. |
int |
getThreadStartupDelay()
Retrieves the thread startup delay for iterations of this optimizing job. |
boolean |
hasStats()
Indicates whether at least some statistical information is available for this optimizing job. |
boolean |
includeThreadsInDescription()
Indicates whether the number of threads should be included in the description for each iteration of this optimizing job. |
void |
jobIterationComplete(Job jobIteration)
Indicates that one iteration of this optimizing job is complete and that any appropriate action should be taken. |
boolean |
monitorClientsIfAvailable()
Indicates whether an attempt will be made to use resource monitor clients on the same systems as the clients used to run this job. |
void |
pauseBeforeNextIteration()
Requests that this optimizing job be paused before its next iteration. |
boolean |
pauseRequested()
Indicates whether a request has been submitted to pause this optimizing job. |
boolean |
reRunBestIteration()
Indicates whether the best iteration should be re-run once the job has completed. |
void |
schedule()
Causes the first iteration of this optimizing job to be scheduled for execution in the SLAMD server. |
void |
scheduleReRunOfBestIteration()
This schedules a second run of the iteration that yielded the best result. |
void |
sendJobCompleteNotification()
Sends an e-mail message to any configured recipients indicating that the optimization process has completed. |
void |
setActualStartTime(java.util.Date actualStartTime)
Specifies the time at which the first iteration of this job actually started running. |
void |
setActualStopTime(java.util.Date actualStopTime)
Specifies the time at which the last iteration of this job actually completed running. |
void |
setAssociatedJobs(Job[] associatedJobs)
Specifies the set of jobs scheduled as iterations of this optimizing job. |
void |
setDependencies(java.lang.String[] dependencies)
Specifies the set of dependencies for this optimizing job. |
void |
setDisplayInReadOnlyMode(boolean displayInReadOnlyMode)
Specifies whether this optimizing job should be displayed in restricted read-only mode. |
void |
setFolderName(java.lang.String folderName)
Specifies the name of the job folder in which this optimizing job is located. |
void |
setJobGroup(java.lang.String jobGroup)
Specifies the name of the job group with which this optimizing job is associated. |
void |
setJobState(int jobState)
Specifies the current state of this optimizing job. |
void |
setMonitorClientsIfAvailable(boolean monitorClientsIfAvailable)
Specifies whether an attempt should be made to use resource monitor clients on the same systems as the clients used to run this job. |
void |
setOptimalIteration(Job optimalIteration)
Specifies the optimal iteration for this optimizing job. |
void |
setReRunIteration(Job reRunIteration)
Specifies the job that is a re-run of the best iteration of this optimizing job. |
void |
setStopReason(java.lang.String stopReason)
Specifies the reason that the job stopped running. |
void |
setThreadStartupDelay(int threadStartupDelay)
Specifies the thread startup delay for iterations of this optimizing job. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ELEMENT_OPTIMIZING_JOB_ID
public static final java.lang.String ELEMENT_ITERATION_IDS
public static final java.lang.String ELEMENT_RERUN_ID
public static final java.lang.String ELEMENT_JOB_CLASS
public static final java.lang.String ELEMENT_JOB_GROUP
public static final java.lang.String ELEMENT_JOB_STATE
public static final java.lang.String ELEMENT_DESCRIPTION
public static final java.lang.String ELEMENT_INCLUDE_THREADS_IN_DESCRIPTION
public static final java.lang.String ELEMENT_DISPLAY_IN_READ_ONLY
public static final java.lang.String ELEMENT_START_TIME
public static final java.lang.String ELEMENT_DURATION
public static final java.lang.String ELEMENT_DELAY_BETWEEN_ITERATIONS
public static final java.lang.String ELEMENT_NUM_CLIENTS
public static final java.lang.String ELEMENT_REQUESTED_CLIENTS
public static final java.lang.String ELEMENT_MONITOR_CLIENTS
public static final java.lang.String ELEMENT_MONITOR_CLIENTS_IF_AVAILABLE
public static final java.lang.String ELEMENT_MIN_THREADS
public static final java.lang.String ELEMENT_MAX_THREADS
public static final java.lang.String ELEMENT_THREAD_INCREMENT
public static final java.lang.String ELEMENT_THREAD_STARTUP_DELAY
public static final java.lang.String ELEMENT_COLLECTION_INTERVAL
public static final java.lang.String ELEMENT_FOLDER_NAME
public static final java.lang.String ELEMENT_MAX_NONIMPROVING
public static final java.lang.String ELEMENT_RERUN_BEST_ITERATION
public static final java.lang.String ELEMENT_RERUN_DURATION
public static final java.lang.String ELEMENT_NOTIFY_ADDRESSES
public static final java.lang.String ELEMENT_DEPENDENCIES
public static final java.lang.String ELEMENT_OPTIMIZATION_ALGORITHM
public static final java.lang.String ELEMENT_PARAMETERS
public static final java.lang.String ELEMENT_ACTUAL_START_TIME
public static final java.lang.String ELEMENT_ACTUAL_STOP_TIME
public static final java.lang.String ELEMENT_STOP_REASON
public static final java.lang.String ELEMENT_PAUSE_REQUESTED
| Constructor Detail |
|---|
public OptimizingJob(SLAMDServer slamdServer,
java.lang.String optimizingJobID,
OptimizationAlgorithm optimizationAlgorithm,
Job baseJob,
java.lang.String folderName,
java.lang.String description,
boolean includeThreadsInDescription,
java.util.Date startTime,
int duration,
int delayBetweenIterations,
int numClients,
java.lang.String[] requestedClients,
java.lang.String[] monitorClients,
boolean monitorClientsIfAvailable,
int minThreads,
int maxThreads,
int threadIncrement,
int collectionInterval,
int maxNonImproving,
java.lang.String[] notifyAddresses,
boolean reRunBestIteration,
int reRunDuration,
boolean displayInReadOnlyMode)
slamdServer - The SLAMD server with which this
optimizing job is associated.optimizingJobID - The unique ID for this optimizing job.optimizationAlgorithm - The optimization algorithm to use for
this optimizing job.baseJob - The base job that should be used to
provide parameter information for this
optimizing job.folderName - The name of the job folder in which
the optimizing job should be placed.description - The base description for each job
iteration.includeThreadsInDescription - Indicates whether the thread count
should be included in the description
for each job iteration.startTime - The time that the first iteration
should start running.duration - The maximum length of time any job
iteration should be allowed to run.delayBetweenIterations - The length of time in seconds that
should be left between job iterations.numClients - The number of clients that should be
used to run each iteration.requestedClients - The set of clients that have been
requested for each iteration.monitorClients - The set of resource monitor clients
that have been requested for this
optimizing job.monitorClientsIfAvailable - Indicates whether any resource monitor
clients on the same system(s) as the
job clients should automatically be
used.minThreads - The minimum number of threads that
should be used on each client.maxThreads - The maximum number of threads that
should be used for each client. If
there is no maximum, this should be
negative.threadIncrement - The increase in threads that should be
used between iterations.collectionInterval - The statistics collection interval
that should be used for the job
iterations.maxNonImproving - The maximum number of consecutive
non-improving iterations that will be
allowed before ending the job.notifyAddresses - The e-mail addresses of the users that
should be notified when the
optimization process is complete.reRunBestIteration - Indicates whether the best iteration
should be re-run once the optimizing
job is otherwise complete.reRunDuration - The duration that should be used when
re-running the best iteration.displayInReadOnlyMode - Indicates whether this optimizing job
should be displayed in restricted
read-only mode.
public OptimizingJob(SLAMDServer slamdServer,
java.lang.String optimizingJobID,
OptimizationAlgorithm optimizationAlgorithm,
JobClass jobClass,
java.lang.String folderName,
java.lang.String description,
boolean includeThreadsInDescription,
java.util.Date startTime,
int duration,
int delayBetweenIterations,
int numClients,
java.lang.String[] requestedClients,
java.lang.String[] monitorClients,
boolean monitorClientsIfAvailable,
int minThreads,
int maxThreads,
int threadIncrement,
int collectionInterval,
int maxNonImproving,
java.lang.String[] notifyAddresses,
boolean reRunBestIteration,
int reRunDuration,
ParameterList parameters,
boolean displayInReadOnlyMode)
slamdServer - The SLAMD server with which this
optimizing job is associated.optimizingJobID - The unique ID for this optimizing job.optimizationAlgorithm - The optimization algorithm to use for
this optimizing job.jobClass - The job class associated with this
optimizing job.folderName - The name of the folder in which this
optimizing job should be placed.description - The base description for each job
iteration.includeThreadsInDescription - Indicates whether the thread count
should be included in the description
for each job iteration.startTime - The time that the first iteration
should start running.duration - The maximum length of time any job
iteration should be allowed to run.delayBetweenIterations - The length of time in seconds that
should be left between job iterations.numClients - The number of clients that should be
used to run each iteration.requestedClients - The set of clients that have been
requested for each iteration.monitorClients - The set of resource monitor clients
that have been requested for this
optimizing job.monitorClientsIfAvailable - Indicates whether any resource monitor
clients on the same system(s) as the
job clients should automatically be
used.minThreads - The minimum number of threads that
should be used on each client.maxThreads - The maximum number of threads that
should be used for each client. If
there is no maximum, this should be
negative.threadIncrement - The increase in threads that should be
used between iterations.collectionInterval - The statistics collection interval
that should be used for the job
iterations.maxNonImproving - The maximum number of consecutive
non-improving iterations that will be
allowed before ending the job.notifyAddresses - The e-mail addresses of the users that
should be notified when the
optimization process is complete.reRunBestIteration - Indicates whether the best iteration
should be re-run once the optimizing
job is otherwise complete.reRunDuration - The duration that should be used when
re-running the best iteration.parameters - The parameter list for this optimizing
job.displayInReadOnlyMode - Indicates whether this optimizing job
should be displayed in restricted
read-only mode.| Method Detail |
|---|
public java.lang.String getOptimizingJobID()
public OptimizationAlgorithm getOptimizationAlgorithm()
public JobClass getJobClass()
public java.lang.String getJobClassName()
public java.lang.String getJobName()
public java.lang.String getJobClassDescription()
public java.lang.String getJobGroup()
null if it was not scheduled as part
of a job group.public void setJobGroup(java.lang.String jobGroup)
jobGroup - The name of the job group with which this optimizing job
is associated.public boolean displayInReadOnlyMode()
true if this optimizing job should be displayed in
restricted read-only mode, or false if not.public void setDisplayInReadOnlyMode(boolean displayInReadOnlyMode)
displayInReadOnlyMode - Indicates whether this optimizing job should
be displayed in restricted read-only mode.public java.lang.String getFolderName()
public void setFolderName(java.lang.String folderName)
folderName - The name of the job folder in which this optimizing job
is located.public ParameterList getParameterStubs()
public ParameterList getOptimizationParameterStubs()
public ParameterList getParameters()
public ParameterList getOptimizationParameters()
public java.lang.String getDescription()
public boolean includeThreadsInDescription()
true if the number of threads should be included
in the description for this optimizing job, or false
if not.public java.util.Date getStartTime()
public int getDuration()
public int getDelayBetweenIterations()
public boolean reRunBestIteration()
true if the best iteration should be re-run after the
job has completed, or false if not.public int getReRunDuration()
public Job getReRunIteration()
null if there is none or it hasn't
run yet.public void setReRunIteration(Job reRunIteration)
reRunIteration - The job that is a re-run of the best iteration of
this optimizing job.public int getNumClients()
public java.lang.String[] getRequestedClients()
public java.lang.String[] getResourceMonitorClients()
public boolean monitorClientsIfAvailable()
true if resource monitor clients on the same systems
as the clients will be used, or false if not.public void setMonitorClientsIfAvailable(boolean monitorClientsIfAvailable)
monitorClientsIfAvailable - Specifies whether an attempt should be
made to use resource monitor clients
on the same systems as the clients used
to run this job.public int getMinThreads()
public int getMaxThreads()
public int getThreadIncrement()
public int getThreadStartupDelay()
public void setThreadStartupDelay(int threadStartupDelay)
threadStartupDelay - The thread startup delay for iterations of this
optimizing job.public int getCollectionInterval()
public int getMaxNonImproving()
public java.lang.String[] getNotifyAddresses()
public java.util.Date getActualStartTime()
public void setActualStartTime(java.util.Date actualStartTime)
actualStartTime - The time at which the first iteration of this job
actually started running.public java.util.Date getActualStopTime()
public void setActualStopTime(java.util.Date actualStopTime)
actualStopTime - The time at which the last iteration of this job
actually completed running.public int getJobState()
public void setJobState(int jobState)
jobState - The current state of this optimizing job.public java.lang.String getJobStateString()
public java.lang.String getStopReason()
public void setStopReason(java.lang.String stopReason)
stopReason - The reason that the job stopped running.public Job[] getAssociatedJobs()
public void setAssociatedJobs(Job[] associatedJobs)
associatedJobs - The set of jobs scheduled as iterations of this
optimizing job.public java.lang.String[] getDependencies()
public void setDependencies(java.lang.String[] dependencies)
dependencies - The set of dependencies for this optimizing job.public boolean doneRunning()
true if the optimization process has completed, or
false if not.public boolean hasStats()
true if there is statistical information available
for this optimizing job, or false if not.public int getOptimalThreadCount()
public double getOptimalValue()
public java.lang.String getOptimalJobID()
null if no
optimal iteration has been determined.public void setOptimalIteration(Job optimalIteration)
optimalIteration - The job that is the optimal iteration for this
optimizing job.public Job getOptimalIteration()
public void schedule()
throws SLAMDServerException
SLAMDServerException - If a problem occurs while scheduling the
optimizing job.
public void cancel()
throws SLAMDServerException
SLAMDServerException - If a problem occurs while cancelling the
job.public boolean pauseRequested()
true if a request has been made to pause this
optimizing job, or false if not.public void pauseBeforeNextIteration()
public void cancelPause()
public void jobIterationComplete(Job jobIteration)
jobIteration - The job iteration that has completed.public void scheduleReRunOfBestIteration()
public void sendJobCompleteNotification()
public byte[] encode()
public static OptimizingJob decode(SLAMDServer slamdServer,
byte[] encodedOptimizingJob)
throws DecodeException
slamdServer - The SLAMD server with which the optimizing
job is associated.encodedOptimizingJob - The byte array containing the encoded
optimizing job.
DecodeException - If a problem occurs while attempting to decode
the provided byte array as an optimizing job.
public static OptimizingJob decodeSummary(SLAMDServer slamdServer,
byte[] encodedOptimizingJob)
throws DecodeException
slamdServer - The SLAMD server with which the optimizing
job is associated.encodedOptimizingJob - The byte array containing the encoded
optimizing job.
DecodeException - If a problem occurs while attempting to decode
the provided byte array as an optimizing job.
public int compareTo(java.lang.Object o)
throws java.lang.ClassCastException
compareTo in interface java.lang.Comparableo - The object to compare with this optimizing job. It must be an
OptimizingJob.
java.lang.ClassCastException - If the provided object is not an
OptimizingJob.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||