Package org.apache.cassandra.schema
Class SchemaEvent
- java.lang.Object
-
- org.apache.cassandra.diag.DiagnosticEvent
-
- org.apache.cassandra.schema.SchemaEvent
-
public final class SchemaEvent extends DiagnosticEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SchemaEvent.SchemaEventType
-
Field Summary
-
Fields inherited from class org.apache.cassandra.diag.DiagnosticEvent
threadName, timestamp
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaEvent.SchemaEventType
getType()
Returns event type discriminator.java.util.Map<java.lang.String,java.io.Serializable>
toMap()
Returns map of key-value pairs containing relevant event details.
-
-
-
Method Detail
-
getType
public SchemaEvent.SchemaEventType getType()
Description copied from class:DiagnosticEvent
Returns event type discriminator. This will usually be a enum value.- Specified by:
getType
in classDiagnosticEvent
-
toMap
public java.util.Map<java.lang.String,java.io.Serializable> toMap()
Description copied from class:DiagnosticEvent
Returns map of key-value pairs containing relevant event details. Values can be complex objects like other maps, but must be Serializable, as returned values may be consumed by external clients. It's strongly recommended to stick to standard Java classes to avoid distributing custom classes to clients and also prevent potential class versioning conflicts.- Specified by:
toMap
in classDiagnosticEvent
-
-