|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.fc.Item
wt.queue.WtQueue
Supported API: true
Extendable: false
Nested Class Summary | |
(package private) static class |
WtQueue.QueueCacheUpdater
Top level inner class which updates the queue cache |
Field Summary | |
private static String |
CLASSNAME
|
static String |
DELETE_WHEN_EMPTY
Label for the attribute. |
private boolean |
deleteWhenEmpty
|
static String |
DELETING
Supported API: false |
private boolean |
enabled
|
static String |
ENABLED
Label for the attribute. |
static String |
EXCEPTION_RETRIES
Label for the attribute. |
private Long |
exceptionRetries
|
static String |
EXECUTION_HOST
Label for the attribute. |
private static int |
EXECUTION_HOST_UPPER_LIMIT
|
private String |
executionHost
|
static long |
EXTERNALIZATION_VERSION_UID
|
static String |
FAILURE_NOTIFICATION_EMAIL
Label for the attribute. |
private static int |
FAILURE_NOTIFICATION_EMAIL_UPPER_LIMIT
|
private String |
failureNotificationEmail
|
static String |
INIT
|
static String |
LAST_NOTIFICATION_TIME
Label for the attribute. |
static String |
LAST_STATE_SET
Label for the attribute. |
private static int |
LAST_STATE_SET_UPPER_LIMIT
|
private Long |
lastNotificationTime
|
private String |
lastStateSet
|
private static long |
LSUSPEND_DURATION
|
private String |
name
|
static String |
NAME
Label for the attribute. |
private static int |
NAME_UPPER_LIMIT
|
protected static long |
OLD_FORMAT_VERSION_UID
|
protected static WTProperties |
properties
|
static String |
QUEUE_STATE
Label for the attribute. |
private static int |
QUEUE_STATE_UPPER_LIMIT
|
private String |
queueState
|
static String |
REMOVE_FAILED_ENTIRES
Label for the attribute. |
private boolean |
removeFailedEntires
|
private static String |
RESOURCE
|
private static long |
RETRIES
|
private boolean |
running
|
static String |
RUNNING
Label for the attribute. |
private static String |
SENDER_EMAIL
|
(package private) static long |
serialVersionUID
|
static String |
STARTED
Supported API: false |
static String |
STARTING
Supported API: false |
static String |
STOPPED
Supported API: false |
static String |
STOPPING
Supported API: false |
static String |
SUSPEND_DURATION
Label for the attribute. |
static String |
SUSPEND_UNTIL
Label for the attribute. |
private Long |
suspendDuration
|
static String |
SUSPENDED
Supported API: false |
private Long |
suspendUntil
|
static String |
TOTAL_ENTRIES
Label for the attribute. |
private Integer |
totalEntries
|
protected static boolean |
VERBOSE_INDUSTRIALIZATION
|
static String |
WAITING_ENTRIES
Label for the attribute. |
private Integer |
waitingEntries
|
Fields inherited from class wt.fc.Item |
VERSION_40_UID, VERSION_51_UID |
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
WtQueue()
|
Method Summary | |
boolean |
equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifier s. |
void |
execEntries()
Execute queue entries Supported API: true |
String |
getCacheName()
|
Long |
getExceptionRetries()
Gets the value of the attribute: EXCEPTION_RETRIES. |
String |
getExecutionHost()
Gets the value of the attribute: EXECUTION_HOST. |
String |
getFailureNotificationEmail()
Gets the value of the attribute: FAILURE_NOTIFICATION_EMAIL. |
Long |
getLastNotificationTime()
Gets the value of the attribute: LAST_NOTIFICATION_TIME. |
String |
getLastStateSet()
Gets the value of the attribute: LAST_STATE_SET. |
String |
getName()
Gets the value of the attribute: NAME. |
abstract Class |
getQType()
|
String |
getQueueState()
Gets the value of the attribute: QUEUE_STATE. |
Long |
getSuspendDuration()
Gets the value of the attribute: SUSPEND_DURATION. |
Long |
getSuspendUntil()
Gets the value of the attribute: SUSPEND_UNTIL. |
Integer |
getTotalEntries()
Gets the value of the attribute: TOTAL_ENTRIES. |
Integer |
getWaitingEntries()
Gets the value of the attribute: WAITING_ENTRIES. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
void |
insert()
Supported API: false |
boolean |
isDeleteWhenEmpty()
Gets the value of the attribute: DELETE_WHEN_EMPTY. |
boolean |
isEnabled()
Gets the value of the attribute: ENABLED. |
boolean |
isRemoveFailedEntires()
Gets the value of the attribute: REMOVE_FAILED_ENTIRES. |
boolean |
isRunning()
Gets the value of the attribute: RUNNING. |
protected void |
logQueueProblem()
|
void |
notifyQueueAdmin()
|
boolean |
queueSuspended()
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(WtQueue thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
WtQueue |
refresh()
Supported API: false |
protected void |
rollbackDanglingTransaction()
|
void |
setDeleteWhenEmpty(boolean a_DeleteWhenEmpty)
Sets the value of the attribute: DELETE_WHEN_EMPTY. |
void |
setEnabled(boolean a_Enabled)
Sets the value of the attribute: ENABLED. |
void |
setExceptionRetries(Long a_ExceptionRetries)
Sets the value of the attribute: EXCEPTION_RETRIES. |
void |
setExecutionHost(String a_ExecutionHost)
Sets the value of the attribute: EXECUTION_HOST. |
void |
setFailureNotificationEmail(String a_FailureNotificationEmail)
Sets the value of the attribute: FAILURE_NOTIFICATION_EMAIL. |
void |
setLastNotificationTime(Long a_LastNotificationTime)
Sets the value of the attribute: LAST_NOTIFICATION_TIME. |
void |
setLastStateSet(String a_LastStateSet)
Sets the value of the attribute: LAST_STATE_SET. |
void |
setName(String a_Name)
Sets the value of the attribute: NAME. |
void |
setQueueState(String a_QueueState)
Sets the value of the attribute: QUEUE_STATE. |
void |
setRemoveFailedEntires(boolean a_RemoveFailedEntires)
Sets the value of the attribute: REMOVE_FAILED_ENTIRES. |
void |
setRunning(boolean a_Running)
Sets the value of the attribute: RUNNING. |
void |
setSuspendDuration(Long a_SuspendDuration)
Sets the value of the attribute: SUSPEND_DURATION. |
void |
setSuspendTime()
|
void |
setSuspendUntil(Long a_SuspendUntil)
Sets the value of the attribute: SUSPEND_UNTIL. |
void |
setTotalEntries(Integer a_TotalEntries)
Sets the value of the attribute: TOTAL_ENTRIES. |
void |
setWaitingEntries(Integer a_WaitingEntries)
Sets the value of the attribute: WAITING_ENTRIES. |
String |
toString()
Returns a string representaion of the queue. |
void |
update()
Supported API: false |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class wt.fc.Item |
getDomainRef, initialize, isInheritedDomain, readVersion, setDomainRef, setInheritedDomain |
Methods inherited from class wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo, getConceptualClassname |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String NAME
private static int NAME_UPPER_LIMIT
private String name
public static final String EXECUTION_HOST
private static int EXECUTION_HOST_UPPER_LIMIT
private String executionHost
public static final String ENABLED
private boolean enabled
public static final String RUNNING
private boolean running
public static final String REMOVE_FAILED_ENTIRES
private boolean removeFailedEntires
public static final String EXCEPTION_RETRIES
private Long exceptionRetries
public static final String DELETE_WHEN_EMPTY
private boolean deleteWhenEmpty
public static final String QUEUE_STATE
private static int QUEUE_STATE_UPPER_LIMIT
private String queueState
public static final String LAST_STATE_SET
private static int LAST_STATE_SET_UPPER_LIMIT
private String lastStateSet
public static final String STARTING
public static final String STARTED
public static final String STOPPING
public static final String STOPPED
public static final String DELETING
public static final String SUSPENDED
public static final String SUSPEND_UNTIL
private Long suspendUntil
public static final String SUSPEND_DURATION
private Long suspendDuration
public static final String FAILURE_NOTIFICATION_EMAIL
private static int FAILURE_NOTIFICATION_EMAIL_UPPER_LIMIT
private String failureNotificationEmail
public static final String LAST_NOTIFICATION_TIME
private Long lastNotificationTime
public static final String TOTAL_ENTRIES
private Integer totalEntries
public static final String WAITING_ENTRIES
private Integer waitingEntries
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
public static final String INIT
protected static final boolean VERBOSE_INDUSTRIALIZATION
private static final long LSUSPEND_DURATION
private static final long RETRIES
protected static WTProperties properties
private static String SENDER_EMAIL
Constructor Detail |
public WtQueue()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Item
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Item
input
-
IOException
ClassNotFoundException
protected boolean readVersion(WtQueue thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
writeExternal
in class Item
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class Item
input
-
SQLException
DatastoreException
public String getName()
public void setName(String a_Name)
a_Name
- public String getExecutionHost()
public void setExecutionHost(String a_ExecutionHost)
a_ExecutionHost
- public boolean isEnabled()
public void setEnabled(boolean a_Enabled)
a_Enabled
- public boolean isRunning()
public void setRunning(boolean a_Running)
a_Running
- public boolean isRemoveFailedEntires()
public void setRemoveFailedEntires(boolean a_RemoveFailedEntires)
a_RemoveFailedEntires
- public Long getExceptionRetries()
public void setExceptionRetries(Long a_ExceptionRetries)
a_ExceptionRetries
- public boolean isDeleteWhenEmpty()
public void setDeleteWhenEmpty(boolean a_DeleteWhenEmpty)
a_DeleteWhenEmpty
- public String getQueueState()
public void setQueueState(String a_QueueState)
a_QueueState
- public String getLastStateSet()
public void setLastStateSet(String a_LastStateSet)
a_LastStateSet
- public Long getSuspendUntil()
public void setSuspendUntil(Long a_SuspendUntil)
a_SuspendUntil
- public Long getSuspendDuration()
public void setSuspendDuration(Long a_SuspendDuration)
a_SuspendDuration
- public String getFailureNotificationEmail()
public void setFailureNotificationEmail(String a_FailureNotificationEmail)
a_FailureNotificationEmail
- public Long getLastNotificationTime()
public void setLastNotificationTime(Long a_LastNotificationTime)
a_LastNotificationTime
- public Integer getTotalEntries()
public void setTotalEntries(Integer a_TotalEntries) throws WTPropertyVetoException
a_TotalEntries
-
WTPropertyVetoException
public Integer getWaitingEntries()
public void setWaitingEntries(Integer a_WaitingEntries) throws WTPropertyVetoException
a_WaitingEntries
-
WTPropertyVetoException
public void execEntries() throws WTException
WTException
public String toString()
toString
in class WTObject
public void insert() throws WTException
WTException
public void update() throws WTException
WTException
public WtQueue refresh() throws WTException
WTException
public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
equals
in class Item
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
hashCode
in class Item
public boolean queueSuspended() throws WTException
WTException
public void setSuspendTime()
public void notifyQueueAdmin()
protected void rollbackDanglingTransaction()
protected void logQueueProblem()
public String getCacheName()
public abstract Class getQType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |