Package wt.queue
Class StatusInfo
java.lang.Object
wt.queue._StatusInfo
wt.queue.StatusInfo
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,NetFactor,ObjectMappable
@GenAsObjectMappable(versions=8536382387610551220L,properties={@GeneratedProperty(name="code",type=java.lang.String.class,supportedAPI=PRIVATE,javaDoc="Stores the queue entry status code. Can be one of READY, SUSPENDED, EXECUTING, COMPLETED, and FAILED.",accessors=@PropertyAccessors(setExceptions={}),constraints=@PropertyConstraints(upperLimit=30)),@GeneratedProperty(name="message",type=java.lang.String.class,supportedAPI=PRIVATE,javaDoc="Contains message associated with the execution of the entry. For example, error message in case of FAILED entries.",accessors=@PropertyAccessors(setExceptions={}),constraints=@PropertyConstraints(upperLimit=4000)),@GeneratedProperty(name="rescheduleTime",type=java.sql.Timestamp.class)})
public class StatusInfo
extends wt.queue._StatusInfo
Represents the status of the queue entry. Contains a code (READY, COMPLETED,
FAILED, EXECUTING, SUSPENDED and NOTIFY) and an (optional) message.
Use the newStatusInfo static factory method(s), not the
StatusInfo constructor, to construct instances of this class.
Instances must be constructed using the static factory(s), in order
to ensure proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant indicating that the entry has been processed successfully.static final StringConstant indicating that the entry has completed successfully but that we want to delete it even when the property wt.queue.removeCompleted.queueName is set to false This status is only valid for process queue entries at this time and is only used specifically by WVS
Supported API: truestatic final StringConstant to indicate that the entry is being executed.static final StringConstant indicating that the entry has been processed unsuccessfully.static final StringConstant indicating that the entry has been processed unsuccessfully but that normal failure processing should be bypassed.static final StringIndicates that an entry has failed after repeated attempts and that an administrator should be notified.static final StringConstant indicating that the entry is ready to be executed.static final StringUsed to indicate the entry should be rescheduled
Supported API: truestatic final StringDenotes that the QueueEntry is failed due to InvocationTargetException or Exception
Supported API: truestatic final StringState of an entry in which it is not chosen for processing. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetMessage(String a_Message) Sets the value of the attribute: MESSAGE.toString()Returns the conceptual (modeled) name for the class.
-
Field Details
-
READY
Constant indicating that the entry is ready to be executed.
Supported API: true- See Also:
-
COMPLETED
Constant indicating that the entry has been processed successfully.
Supported API: true- See Also:
-
FAILED
Constant indicating that the entry has been processed unsuccessfully.
Supported API: true- See Also:
-
NONEVENTFAILED
Constant indicating that the entry has been processed unsuccessfully but that normal failure processing should be bypassed. This status is only valid for process queue entries at this time and is only used specifically by WVS
Supported API: true- See Also:
-
DELETECOMPLETED
Constant indicating that the entry has completed successfully but that we want to delete it even when the property wt.queue.removeCompleted.queueName is set to false This status is only valid for process queue entries at this time and is only used specifically by WVS
Supported API: true- See Also:
-
EXECUTING
Constant to indicate that the entry is being executed.
Supported API: true- See Also:
-
SUSPENDED
State of an entry in which it is not chosen for processing. An entry can only get into this state through operator intervention. Normal processing ends up in the FAILED or COMPLETED states.
Supported API: true- See Also:
-
RESCHEDULE
Used to indicate the entry should be rescheduled
Supported API: true- See Also:
-
NOTIFY
Indicates that an entry has failed after repeated attempts and that an administrator should be notified.
Supported API: true- See Also:
-
SEVERE
Denotes that the QueueEntry is failed due to InvocationTargetException or Exception
Supported API: true- See Also:
-
-
Method Details
-
toString
Returns the conceptual (modeled) name for the class.
Supported API: true- Overrides:
toStringin classwt.queue._StatusInfo- Returns:
- String
-
setMessage
Sets the value of the attribute: MESSAGE. Contains message associated with the execution of the entry. For example, error message in case of FAILED entries.
Supported API: true- Overrides:
setMessagein classwt.queue._StatusInfo- Parameters:
a_Message-
-