|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractMap | +--java.util.HashMap | +--edg.workload.userinterface.jclient.InfoLB | +--edg.workload.userinterface.jclient.Event
LB Event Class Wrapped.
During its life-cycle, the job logs several events to the logging server. Each of them is represented by a series of couple attribute name, attribute value. This class is used in order to represent a single event
Field Summary | |
static java.lang.String[] |
attrNames
This array contains the name of all the possible events attributes |
static int |
CLASSAD
Event attribute - Chkpt: checkpoint value |
static java.lang.String[] |
code
This array contains the possible Event names |
static int |
CODE_ABORT
Possible value returned by code() method. |
static int |
CODE_ACCEPTED
Possible value returned by code() method. |
static int |
CODE_CANCEL
Possible value returned by code() method. |
static int |
CODE_CHKPT
Possible value returned by code() method. |
static int |
CODE_CLEAR
Possible value returned by code() method. |
static int |
CODE_CURDESCR
Possible value returned by code() method. |
static int |
CODE_DEQUEUED
Possible value returned by code() method. |
static int |
CODE_DONE
Possible value returned by code() method. |
static int |
CODE_ENQUEUED
Possible value returned by code() method. |
static int |
CODE_HELPERCALL
Possible value returned by code() method. |
static int |
CODE_HELPERRETURN
Possible value returned by code() method. |
static int |
CODE_LISTENER
Possible value returned by code() method. |
static int |
CODE_MATCH
Possible value returned by code() method. |
static int |
CODE_PENDING
Possible value returned by code() method. |
static int |
CODE_PURGE
Possible value returned by code() method. |
static int |
CODE_REFUSED
Possible value returned by code() method. |
static int |
CODE_REGJOB
Possible value returned by code() method. |
static int |
CODE_RESUBMISSION
Possible value returned by code() method. |
static int |
CODE_RUNNING
Possible value returned by code() method. |
static int |
CODE_TRANSFER
Possible value returned by code() method. |
static int |
CODE_TYPE_MAX
|
static int |
CODE_UNDEF
Possible value returned by code() method. |
static int |
CODE_USERTAG
Possible value returned by code() method. |
static int |
DESCR
Event attribute - CurDescr: description of current job transformation (output of helper) |
static int |
DEST_HOST
Event attribute - Transfer: destination hostname |
static int |
DEST_ID
Event attribute - Match: Id of the destination CE/queue |
static int |
DEST_INSTANCE
Event attribute - Transfer: destination instance |
static int |
DEST_JOBID
Event attribute - Transfer: destination internal jobid |
static int |
DESTINATION
Event attribute - Transfer: destination where the job is being transfered to |
static int |
EVENT
The Event string name attribute |
static int |
EVENT_CODE
The Event code integer attribute |
static int |
EXIT_CODE
Event attribute - Done: process exit code |
static int |
FROM
Event attribute Accepted: where was the job received from Refused: where was the job received from |
static int |
FROM_HOST
Event attribute Accepted: sending component hostname Refused: sending component hostname |
static int |
FROM_INSTANCE
Event attribute Accepted: sending component instance Refused: sending component instance |
static int |
HELPER_NAME
Event attribute HelperCall: name of the called component HelperReturn: name of the called component |
static int |
HELPER_PARAMS
Event attribute - HelperCall: parameters of the call |
static int |
HOST
Event attribute - common: hostname of the machine where the event was generated |
static int |
JDL
Event attribute - RegJob: job description |
static int |
JOB
Event attribute EnQueued: job description in receiver language Transfer: job description in receiver language |
static int |
JOBID
Event attribute - common: DataGrid job id of the source job |
static int |
JOTYPE
Event attribute - common: DataGrid job id of the source job |
static int |
LEVEL
Event attribute - common: logging level (system, debug, ...) |
static int |
LOCAL_JOBID
Event attribute Accepted: new jobId (Condor, Globus ...) assigned by the receiving component. |
static int |
NAME
Event attribute - UserTag: tag name |
static int |
NODE
Event attribute - Running: worker node where the executable is run |
static int |
NS
Event attribute - RegJob: NetworkServer handling the job |
static int |
NSUBJOBS
Event attribute - RegJob: number of subjobs |
static int |
OPERATION
ChangeACL: operation requested to perform with ACL (add, remove) |
static int |
PARENT
Event attribute - RegJob: jobid of parent job |
static int |
PERMISSION
ChangeACL: ACL permission to change (currently only READ) |
static int |
PERMISSION_TYPE
ChangeACL: type of permission requested ('allow', 'deny') |
static int |
PRIORITY
Event attribute - common: message priority (yet 0 for asynchronous and 1 for synchronous transfers) |
static int |
QUEUE
Event attribute - DeQueued: queue name * EnQueued: destination queue |
static int |
REASON
Event attribute - Abort: reason of abort Cancel: detailed description Clear: why the job was cleared Done: reason for the change EnQueued: detailed description of transfer, especially reason of failure Pending: why matching CE cannot be found Refused: reason of refusal Resubmission: reason for the decision Transfer: detailed description of transfer, especially reason of failure |
static int |
RESULT
Event attribute - EnQueued: result of the attempt Resubmission: result code Transfer: result of the attempt |
static int |
RETVAL
Event attribute - HelperReturn: returned data |
static int |
SEED
Event attribute - RegJob: seed for subjob id generation |
static int |
SEQCODE
Event attribute - common: sequence code assigned to the event |
static int |
SOURCE
Event attribute - common: source (WMS component) which generated this event |
static int |
SRC_INSTANCE
Event attribute - common: instance of WMS component (e.g. service communication endpoint) |
static int |
SRC_ROLE
Event attribute HelperCall: whether the logging component is called or calling one HelperReturn: whether the logging component is called or calling one |
static int |
STATUS_CODE
Event attribute - Cancel: classification of the cancel * Done: way of termination |
static int |
SVC_HOST
Event attribute - Listener: hostname |
static int |
SVC_NAME
Event attribute - Listener: port instance name |
static int |
SVC_PORT
Event attribute - Listener: port number |
static int |
TAG
Event attribute Chkpt: checkpoint tag Resubmission: value of the attribute on which the decision is based |
static int |
TIMESTAMP
Event attribute - common: timestamp of event generation |
static int |
USER
Event attribute - common: identity (cert. subj.) of the generator |
static int |
USER_ID
ChangeACL: DN or VOMS parameter (in format VO:group) |
static int |
USER_ID_TYPE
ChangeACL: type of information given in user_id (DN or VOMS) |
static int |
VALUE
Event attribute - UserTag: tag value |
Fields inherited from class edg.workload.userinterface.jclient.InfoLB |
DEFAULT_LOG_LEVEL, HIGH_LOG_LEVEL, NORMAL_LOG_LEVEL |
Constructor Summary | |
Event()
|
Method Summary | |
int |
code()
Retreive the EVENT_CODE field |
java.lang.String |
name()
Retrieve the EVENT field |
java.lang.String |
toString()
Retrieve the string representation of the Event. |
java.lang.String |
toString(int level)
Return a String representation of the Event |
Methods inherited from class edg.workload.userinterface.jclient.InfoLB |
get, getValInt, getValString |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Field Detail |
public static final java.lang.String[] code
public static final java.lang.String[] attrNames
public static final int CODE_UNDEF
public static final int CODE_TRANSFER
public static final int CODE_ACCEPTED
public static final int CODE_REFUSED
public static final int CODE_ENQUEUED
public static final int CODE_DEQUEUED
public static final int CODE_HELPERCALL
public static final int CODE_HELPERRETURN
public static final int CODE_RUNNING
public static final int CODE_RESUBMISSION
public static final int CODE_DONE
public static final int CODE_CANCEL
public static final int CODE_ABORT
public static final int CODE_CLEAR
public static final int CODE_PURGE
public static final int CODE_MATCH
public static final int CODE_PENDING
public static final int CODE_REGJOB
public static final int CODE_CHKPT
public static final int CODE_LISTENER
public static final int CODE_CURDESCR
public static final int CODE_USERTAG
public static final int CODE_TYPE_MAX
public static final int CLASSAD
public static final int DESCR
public static final int DEST_HOST
public static final int DEST_ID
public static final int DEST_INSTANCE
public static final int DEST_JOBID
public static final int DESTINATION
public static final int EXIT_CODE
public static final int FROM
Accepted: where was the job received from
Refused: where was the job received from
public static final int FROM_HOST
Accepted: sending component hostname
Refused: sending component hostname
public static final int FROM_INSTANCE
Accepted: sending component instance
Refused: sending component instance
public static final int HELPER_NAME
HelperCall: name of the called component
HelperReturn: name of the called component
public static final int HELPER_PARAMS
public static final int HOST
public static final int JDL
public static final int JOB
EnQueued: job description in receiver language
Transfer: job description in receiver language
public static final int JOBID
public static final int JOTYPE
public static final int LEVEL
public static final int LOCAL_JOBID
Accepted: new jobId (Condor, Globus ...) assigned by the receiving component.
DeQueued: new jobId assigned by the receiving component.
public static final int NAME
public static final int NODE
public static final int NS
public static final int NSUBJOBS
public static final int OPERATION
public static final int PARENT
public static final int PERMISSION
public static final int PERMISSION_TYPE
public static final int PRIORITY
public static final int QUEUE
public static final int REASON
Cancel: detailed description
Clear: why the job was cleared
Done: reason for the change
EnQueued: detailed description of transfer, especially reason of failure
Pending: why matching CE cannot be found
Refused: reason of refusal
Resubmission: reason for the decision
Transfer: detailed description of transfer, especially reason of failure
public static final int RESULT
EnQueued: result of the attempt
Resubmission: result code
Transfer: result of the attempt
public static final int RETVAL
public static final int SEED
public static final int SEQCODE
public static final int SOURCE
public static final int SRC_INSTANCE
public static final int SRC_ROLE
HelperCall: whether the logging component is called or calling one
HelperReturn: whether the logging component is called or calling one
public static final int STATUS_CODE
public static final int SVC_HOST
public static final int SVC_NAME
public static final int SVC_PORT
public static final int TAG
Chkpt: checkpoint tag
Resubmission: value of the attribute on which the decision is based
public static final int TIMESTAMP
public static final int USER
public static final int USER_ID
public static final int USER_ID_TYPE
public static final int VALUE
public static final int EVENT
public static final int EVENT_CODE
Constructor Detail |
public Event()
Method Detail |
public java.lang.String name()
code
,
the attribute code to be retrieved
public int code()
the attribute to be retrieved
,
a possible returned value
,
a possible returned value
,
a possible returned value
,
a possible returned value
,
a possible returned value
etc...
public java.lang.String toString()
toString
in class InfoLB
toString(int)
public java.lang.String toString(int level)
level
- the verbosity level of toString representation as described in InfoLB class
basical information retrieved
,
normal information retrieved
,
full-complete information retrieved
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |