public class VisorGridEvent extends VisorDataTransferObject
Event.V1, V2, V3, V4| Constructor and Description |
|---|
VisorGridEvent()
Default constructor.
|
VisorGridEvent(int typeId,
IgniteUuid id,
String name,
UUID nid,
long ts,
@Nullable String msg,
String shortDisplay)
Create event with given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteUuid |
getId() |
@Nullable String |
getMessage() |
String |
getName() |
UUID |
getNid() |
String |
getShortDisplay() |
long |
getTimestamp() |
int |
getTypeId() |
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.
|
getProtocolVersion, readExternal, toList, toSet, writeExternalpublic VisorGridEvent()
public VisorGridEvent(int typeId,
IgniteUuid id,
String name,
UUID nid,
long ts,
@Nullable
@Nullable String msg,
String shortDisplay)
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.public int getTypeId()
public IgniteUuid getId()
public String getName()
public UUID getNid()
public long getTimestamp()
@Nullable public @Nullable String getMessage()
public String getShortDisplay()
protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorDataTransferObjectout - 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 VisorDataTransferObjectprotoVer - 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.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021