Package com.hazelcast.auditlog
Interface AuditableEvent
public interface AuditableEvent
Observable event in the system.
-
Method Details
-
typeId
String typeId()- Returns:
- Unique event type code. Must not be
null
.
-
message
String message()Return a text description of the event.Warning: Hazelcast doesn't guarantee content of the message. The value can change between versions.
- Returns:
- Event message
-
parameters
Return Map of parameters for given event.Warning: Hazelcast doesn't guarantee content of the parameters Map (parameters, names, values or types used). The value can change between versions.
- Returns:
- Event parameters. Must not be
null
.
-
level
Level level()- Returns:
- Importance level. Must not be
null
.
-
cause
Throwable cause()Return an exception or error (if any) which caused this event.- Returns:
- event cause or
null
-
getTimestamp
long getTimestamp()Returns event timestamp as milliseconds from the epoch.- Returns:
- event timestamp in millis
-