|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Package uws |
---|
Class uws.UWSException extends java.lang.Exception implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
int httpErrorCode
NOT_FOUND
). It MUST BE greater than 0.
ErrorType errorType
FATAL
). It MUST BE non null.
Package uws.job |
---|
Class uws.job.AbstractJob extends SerializableUWSObject implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
java.lang.String jobId
AbstractJob.generateJobId()
.
To change the way this ID is generated or its format you must override this function.
java.lang.String owner
java.lang.String runId
AbstractJob.jobId
). It may not be unique !
JobPhase phase
The current phase of the job.
Remember: A job is treated as a state machine thanks to this attribute.PENDING
,
QUEUED
, EXECUTING
, COMPLETED
phases in that order.COMPLETED
phase a job may either be ABORTED
or may suffer an ERROR
.UNKNOWN
phase, then all the client can do is re-query the phase until a known phase is reported.HELD
phase on receipt of a PHASE=RUN request it for some reason the job cannot be immediately queued
- in this case it is the responsibility of the client to request PHASE=RUN again at some later time.
java.text.DateFormat dateFormat
long quote
AbstractJob.quote
is set to AbstractJob.QUOTE_NOT_KNOWN
(= -1L).
java.util.Date startTime
java.util.Date endTime
long executionDuration
This is the duration (in seconds) for which the job shall run.
Notes:AbstractJob.UNLIMITED_DURATION
) implies unlimited execution duration.
java.util.Date destructionTime
This represents the instant when the job shall be destroyed.
Notes: Destroying a job implies:The Destruction time should be viewed as a measure of the amount of time that a service is prepared to allocated storage for a job - typically this will be a longer duration that the amount of CPU time that a service would allocate.
ErrorSummary errorSummary
This error summary gives a human-readable error message for the underlying job.
Note: This object is intended to be a detailed error message, and consequently, might be a large piece of text such as a stack trace.
java.util.Map<K,V> additionalParameters
java.util.List<E> results
long waitForStop
ExecutionManager executionManager
JobList<J extends AbstractJob> myJobList
java.util.Vector<E> observers
Class uws.job.ErrorSummary extends SerializableUWSObject implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
java.lang.String message
ErrorType type
java.lang.String details
Class uws.job.JobList extends SerializableUWSObject implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
java.lang.String name
java.util.Map<K,V> jobsList
java.util.Map<K,V> ownerJobs
DestructionManager destructionManager
AbstractUWS<JL extends JobList<J>,J extends AbstractJob> uws
Class uws.job.JobPhase extends java.lang.Object implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
ExecutionPhase phase
AbstractJob job
Class uws.job.Result extends SerializableUWSObject implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
java.lang.String id
java.lang.String href
java.lang.String type
Class uws.job.SerializableUWSObject extends java.lang.Object implements Serializable |
---|
serialVersionUID: 1L
Package uws.job.manager |
---|
Class uws.job.manager.DefaultDestructionManager extends java.lang.Object implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
java.util.TreeSet<E> jobsToDestroy
DefaultDestructionManager.TimeComparator
.
AbstractJob currentJob
java.util.Date currentDate
DefaultDestructionManager.currentJob
.
Class uws.job.manager.DefaultDestructionManager.TimeComparator extends java.lang.Object implements Serializable |
---|
serialVersionUID: 1L
Class uws.job.manager.DefaultExecutionManager extends java.lang.Object implements Serializable |
---|
serialVersionUID: 1L
Class uws.job.manager.QueuedExecutionManager extends java.lang.Object implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
int nbMaxRunningJobs
Package uws.job.serializer |
---|
Class uws.job.serializer.JSONSerializer extends UWSSerializer implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
java.lang.String tabPrefix
Class uws.job.serializer.UWSSerializer extends java.lang.Object implements Serializable |
---|
serialVersionUID: 1L
Class uws.job.serializer.XMLSerializer extends UWSSerializer implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
java.lang.String tabPrefix
java.lang.String xsltPath
Package uws.service |
---|
Class uws.service.AbstractUWS extends SerializableUWSObject implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
java.lang.String name
java.lang.String description
java.util.Map<K,V> mapJobLists
UWSUrl urlInterpreter
boolean reInitUrlInterpreter
java.util.Map<K,V> serializers
java.lang.String defaultSerializer
UWSSerializer choosenSerializer
AbstractUWS.executeRequest(HttpServletRequest, HttpServletResponse)
.
java.lang.String homePage
boolean homeRedirection
ExecutionDurationController durationController
DestructionTimeController destructionController
java.util.Vector<E> uwsActions
UWSAction<JL extends JobList<J>,J extends AbstractJob> executedAction
AbstractUWS.executeRequest(HttpServletRequest, HttpServletResponse)
.
UserIdentifier userIdentifier
DestructionManager destructionManager
ExecutionManager executionManager
Class uws.service.BasicUWS extends AbstractUWS<JobList<J extends AbstractJob>,J extends AbstractJob> implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
java.lang.Class<T> jobClass
Class uws.service.ExtendedUWS extends AbstractUWS<JobList<AbstractJob>,AbstractJob> implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
java.util.Map<K,V> assocJobListClass
JobList<J extends AbstractJob> jlDestination
Class uws.service.ExtendedUWS.AddJobWithConstructor extends AddJob<JobList<AbstractJob>,AbstractJob> implements Serializable |
---|
serialVersionUID: 1L
Class uws.service.QueuedBasicUWS extends BasicUWS<J extends AbstractJob> implements Serializable |
---|
serialVersionUID: 1L
Class uws.service.QueuedExtendedUWS extends ExtendedUWS implements Serializable |
---|
serialVersionUID: 1L
Class uws.service.UWSUrl extends java.lang.Object implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
java.lang.String requestURL
java.lang.String urlHeader
java.lang.String requestURI
java.lang.String baseURI
java.lang.String uwsURI
java.lang.String jobListName
java.lang.String jobId
java.lang.String[] attributes
Package uws.service.actions |
---|
Class uws.service.actions.AddJob extends UWSAction<JL extends JobList<J>,J extends AbstractJob> implements Serializable |
---|
serialVersionUID: 1L
Class uws.service.actions.DestroyJob extends UWSAction<JL extends JobList<J>,J extends AbstractJob> implements Serializable |
---|
serialVersionUID: 1L
Class uws.service.actions.GetJobParam extends UWSAction<JL extends JobList<J>,J extends AbstractJob> implements Serializable |
---|
serialVersionUID: 1L
Class uws.service.actions.JobSummary extends UWSAction<JL extends JobList<J>,J extends AbstractJob> implements Serializable |
---|
serialVersionUID: 1L
Class uws.service.actions.ListJobs extends UWSAction<JL extends JobList<J>,J extends AbstractJob> implements Serializable |
---|
serialVersionUID: 1L
Class uws.service.actions.SetJobParam extends UWSAction<JL extends JobList<J>,J extends AbstractJob> implements Serializable |
---|
serialVersionUID: 1L
Class uws.service.actions.ShowHomePage extends UWSAction<JL extends JobList<J>,J extends AbstractJob> implements Serializable |
---|
serialVersionUID: 1L
Class uws.service.actions.UWSAction extends java.lang.Object implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
AbstractUWS<JL extends JobList<J>,J extends AbstractJob> uws
Package uws.service.controller |
---|
Class uws.service.controller.DestructionTimeController extends java.lang.Object implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
java.util.Date defaultTime
DestructionTimeController.DateField defaultIntervalField
int defaultInterval
java.util.Date maxTime
DestructionTimeController.DateField maxIntervalField
int maxInterval
boolean allowModification
Class uws.service.controller.ExecutionDurationController extends java.lang.Object implements Serializable |
---|
serialVersionUID: 1L
Serialized Fields |
---|
long defaultDuration
long maxDuration
boolean allowModification
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |