public class VisorGridJobEvent extends VisorGridEvent
JobEvent
.Constructor and Description |
---|
VisorGridJobEvent()
Default constructor.
|
VisorGridJobEvent(int typeId,
IgniteUuid id,
String name,
UUID nid,
long ts,
String msg,
String shortDisplay,
String taskName,
String taskClsName,
IgniteUuid taskSesId,
IgniteUuid jobId)
Create event with given parameters.
|
Modifier and Type | Method and Description |
---|---|
IgniteUuid |
getJobId() |
byte |
getProtocolVersion() |
String |
getTaskClassName() |
String |
getTaskName() |
IgniteUuid |
getTaskSessionId() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getId, getMessage, getName, getNid, getShortDisplay, getTimestamp, getTypeId
readExternal, toList, writeExternal
public VisorGridJobEvent()
public VisorGridJobEvent(int typeId, IgniteUuid id, String name, UUID nid, long ts, @Nullable String msg, String shortDisplay, String taskName, String taskClsName, IgniteUuid taskSesId, IgniteUuid jobId)
typeId
- Event type.id
- Event id.name
- Event name.nid
- Event node ID.ts
- Event timestamp.msg
- Event message.shortDisplay
- Shortened version of toString()
result.taskName
- Name of the task that triggered the event.taskClsName
- Name of task class that triggered the event.taskSesId
- Task session ID of the task that triggered the event.jobId
- Job ID.public String getTaskName()
public String getTaskClassName()
public IgniteUuid getTaskSessionId()
public IgniteUuid getJobId()
public byte getProtocolVersion()
getProtocolVersion
in class VisorDataTransferObject
protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData
in class VisorGridEvent
out
- Output object to write data content.IOException
- If I/O errors occur.protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException
readExternalData
in class VisorGridEvent
protoVer
- Input object version.in
- Input object to load data content.IOException
- If I/O errors occur.ClassNotFoundException
- If the class for an object being restored cannot be found.public String toString()
toString
in class VisorGridEvent
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017