|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGRemoteTaskActivation
This class is a container for all the information about a remote task activation. This allows task servers running in a JVM other than the core server's JVM to obtain task activation information.
Method Summary | |
---|---|
void |
deactivate()
Deactivate the subtask activation represented by this TWGRemoteTaskActivation object. |
void |
deactivate(int status)
Deactivate the subtask activation represented by this TWGRemoteTaskActivation object |
void |
deactivate(long moid,
int status)
Deactivate specified client with specified status |
TWGRemoteTaskClients |
getClients()
Get the collection of remote task clients for this activation. |
long |
getEngActID()
Get the ID assigned to this activation by the core engine. |
LongValueSet |
getFoid()
Get the set of filter IDs for this activaiton. |
TWGLog |
getLog()
Get the log object to use for logging status messages during this task activation. |
java.lang.String |
getLogName()
Get the name of the log to use for logging status messages during this task activation. |
LongValueSet |
getMoid()
Get the set of managed object IDs for this activation. |
long |
getRmtActID()
Get the ID assigned to this activation by TWGRemoteTaskManager. |
ServiceNode |
getServiceNode()
|
java.lang.String |
getSubtaskID()
Get the subtask identifier of the subtask being activated. |
byte[] |
getTaskActData()
Get the taskActData for this activation |
java.lang.String |
getTaskID()
Get the task identifier of the task being activated. |
long |
getToid()
Get the object id of the task being activated. |
static long |
getTotal()
Get the total number of task activations that have occurred since the JVM has been started. |
void |
logMessage(java.lang.String message,
int level)
Log a non-translatable message to the log associeated with this activation. |
void |
logMessage(java.lang.String message,
int level,
int correlator)
Log a non-translatable message to the log associeated with this activation. |
void |
logMessage(java.lang.String message,
int level,
TWGRemoteManagedObject rmo)
Log a non-translatable message to the log associeated with this activation. |
void |
logMessage(java.lang.String bundleName,
java.lang.String messageKey,
int level)
Log a message to the log associated with this activation. |
void |
logMessage(java.lang.String bundleName,
java.lang.String messageKey,
int level,
int correlator)
Log a message to the log associated with this activation. |
void |
logMessage(java.lang.String bundleName,
java.lang.String messageKey,
int level,
TWGRemoteManagedObject rmo)
Log a message to the log associated with this activation. |
void |
setLogName(java.lang.String logName)
Set the name for the log for this activation if it's not already set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public ServiceNode getServiceNode()
public static long getTotal()
public long getRmtActID()
public long getEngActID()
public long getToid()
public java.lang.String getTaskID()
public java.lang.String getSubtaskID()
public java.lang.String getLogName()
public TWGLog getLog()
public TWGRemoteTaskClients getClients()
public LongValueSet getMoid()
public LongValueSet getFoid()
public byte[] getTaskActData()
public void deactivate(int status)
status
- final status for this activation, see constants starting
with TWGTaskConstants.ACT_STATUS_ for values.public void deactivate(long moid, int status)
moid
- managed object IDstatus
- final status for specified MO, see constants starting
with TWGTaskConstants.ACT_STATUS_ for values.public void deactivate()
public void setLogName(java.lang.String logName)
logName
- the name to assign the logpublic void logMessage(java.lang.String bundleName, java.lang.String messageKey, int level, int correlator)
bundleName
- the fully qualified name of the bundle to retrieve the
locale specific version of the message text.messageKey
- the key to use to retrieve the message from the bundle
Note: If your message has string substitutions (i.e.
{0}, {1}, etc. that you need to use with MessageFormat,
then the substitution values should be appended to the
message key using the vertical bar ("|") as a delimiter.level
- the level of detail of the message for selective
display; currently, 0-99=low, 100-199=medium, >200=highcorrelator
- If the message being logged pertains to a specific
managed object, then this value should be the object's
ID (moid) cast to an int; otherwise, this value should be 0.public void logMessage(java.lang.String bundleName, java.lang.String messageKey, int level, TWGRemoteManagedObject rmo)
bundleName
- the fully qualified name of the bundle to retrieve the
locale specific version of the message text.messageKey
- the key to use to retrieve the message from the bundle
Note: If your message has string substitutions (i.e.
{0}, {1}, etc. that you need to use with MessageFormat,
then the substitution values should be appended to the
message key using the vertical bar ("|") as a delimiter.level
- the level of detail of the message for selective
display; currently, 0-99=low, 100-199=medium, >200=highpublic void logMessage(java.lang.String bundleName, java.lang.String messageKey, int level)
bundleName
- the fully qualified name of the bundle to retrieve the
locale specific version of the message text.messageKey
- the key to use to retrieve the message from the bundle
Note: If your message has string substitutions (i.e.
{0}, {1}, etc. that you need to use with MessageFormat,
then the substitution values should be appended to the
message key using the vertical bar ("|") as a delimiter.level
- the level of detail of the message for selective
display; currently, 0-99=low, 100-199=medium, >200=highpublic void logMessage(java.lang.String message, int level)
message
- the non-translatable message text to loglevel
- the level of detail of the message for selective
display; currently, 0-99=low, 100-199=medium, >200=highpublic void logMessage(java.lang.String message, int level, TWGRemoteManagedObject rmo)
message
- the non-translatable message text to loglevel
- the level of detail of the message for selective
display; currently, 0-99=low, 100-199=medium, >200=highpublic void logMessage(java.lang.String message, int level, int correlator)
message
- the non-translatable message text to loglevel
- the level of detail of the message for selective
display; currently, 0-99=low, 100-199=medium, >200=highcorrelator
- If the message being logged pertains to a specific
managed object, then this value should be the object's
ID (moid) cast to an int; otherwise, this value should be 0.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |