public interface Event
Events are sent to Management Center periodically, which then informs the user about them. Events can be used where a log statement normally is used. They are usually generated as a result of an action that is triggered by the Management Center.
ManagementCenterService.log(Event)
Modifier and Type | Method and Description |
---|---|
long |
getTimestamp()
Returns when the event happened as epoch millis.
|
EventMetadata.EventType |
getType() |
JsonObject |
toJson()
Serialize the event as JSON, for sending to Management Center.
|
EventMetadata.EventType getType()
long getTimestamp()
JsonObject toJson()
Copyright © 2019 Hazelcast, Inc.. All rights reserved.