public class VisorGridTaskEvent extends VisorGridEvent
TaskEvent.V1, V2, V3, V4| Constructor and Description |
|---|
VisorGridTaskEvent()
Default constructor.
|
VisorGridTaskEvent(int typeId,
IgniteUuid id,
String name,
UUID nid,
long ts,
@Nullable String msg,
String shortDisplay,
String taskName,
String taskClsName,
IgniteUuid taskSesId,
boolean internal)
Create event with given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTaskClassName() |
String |
getTaskName() |
IgniteUuid |
getTaskSessionId() |
boolean |
isInternal() |
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, getTypeIdgetProtocolVersion, readExternal, toList, toSet, writeExternalpublic VisorGridTaskEvent()
public VisorGridTaskEvent(int typeId,
IgniteUuid id,
String name,
UUID nid,
long ts,
@Nullable
@Nullable String msg,
String shortDisplay,
String taskName,
String taskClsName,
IgniteUuid taskSesId,
boolean internal)
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.internal - Whether task was created for system needs.public String getTaskName()
public String getTaskClassName()
public IgniteUuid getTaskSessionId()
public boolean isInternal()
protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorGridEventout - 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 VisorGridEventprotoVer - 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 Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020