Uses of Class
org.apache.cassandra.diag.DiagnosticEvent
-
Packages that use DiagnosticEvent Package Description org.apache.cassandra.audit org.apache.cassandra.diag org.apache.cassandra.diag.store org.apache.cassandra.gms org.apache.cassandra.locator org.apache.cassandra.schema -
-
Uses of DiagnosticEvent in org.apache.cassandra.audit
Subclasses of DiagnosticEvent in org.apache.cassandra.audit Modifier and Type Class Description class
AuditEvent
wrapper to expose audit events asDiagnosticEvent
s. -
Uses of DiagnosticEvent in org.apache.cassandra.diag
Methods in org.apache.cassandra.diag with type parameters of type DiagnosticEvent Modifier and Type Method Description <E extends DiagnosticEvent>
booleanDiagnosticEventService. hasSubscribers(java.lang.Class<E> event)
Indicates if anyConsumer
has been registered for the specified class of events.<E extends DiagnosticEvent,T extends java.lang.Enum<T>>
booleanDiagnosticEventService. hasSubscribers(java.lang.Class<E> event, T eventType)
Indicates if anyConsumer
has been registered for the specified class of events.<E extends DiagnosticEvent>
booleanDiagnosticEventService. isEnabled(java.lang.Class<E> event)
Indicates if events are enabled for specified event class based onDatabaseDescriptor.diagnosticEventsEnabled()
andDiagnosticEventService.hasSubscribers(Class)
.<E extends DiagnosticEvent,T extends java.lang.Enum<T>>
booleanDiagnosticEventService. isEnabled(java.lang.Class<E> event, T eventType)
Indicates if events are enabled for specified event class based onDatabaseDescriptor.diagnosticEventsEnabled()
andDiagnosticEventService.hasSubscribers(Class, Enum)
.<E extends DiagnosticEvent>
voidDiagnosticEventService. subscribe(java.lang.Class<E> event, java.util.function.Consumer<E> consumer)
Registers event handler for specified class of events.<E extends DiagnosticEvent,T extends java.lang.Enum<T>>
voidDiagnosticEventService. subscribe(java.lang.Class<E> event, T eventType, java.util.function.Consumer<E> consumer)
Registers event handler for specified class of events.<E extends DiagnosticEvent>
voidDiagnosticEventService. unsubscribe(java.lang.Class<E> event, java.util.function.Consumer<E> consumer)
De-registers event handler from receiving any further events.<E extends DiagnosticEvent>
voidDiagnosticEventService. unsubscribe(java.util.function.Consumer<E> consumer)
De-registers event handler from receiving any further events.Methods in org.apache.cassandra.diag with parameters of type DiagnosticEvent Modifier and Type Method Description void
DiagnosticEventService. publish(DiagnosticEvent event)
Makes provided event available to all subscribers.Method parameters in org.apache.cassandra.diag with type arguments of type DiagnosticEvent Modifier and Type Method Description void
DiagnosticEventService. subscribeAll(java.util.function.Consumer<DiagnosticEvent> consumer)
Registers event handler for all DiagnosticEvents published from this point. -
Uses of DiagnosticEvent in org.apache.cassandra.diag.store
Methods in org.apache.cassandra.diag.store that return types with arguments of type DiagnosticEvent Modifier and Type Method Description java.util.NavigableMap<java.lang.Long,DiagnosticEvent>
DiagnosticEventMemoryStore. scan(java.lang.Long id, int limit)
java.util.NavigableMap<T,DiagnosticEvent>
DiagnosticEventStore. scan(T key, int limit)
Returns a view on all events with a key greater than the provided value (inclusive) up to the specified number of results.Methods in org.apache.cassandra.diag.store with parameters of type DiagnosticEvent Modifier and Type Method Description void
DiagnosticEventMemoryStore. store(DiagnosticEvent event)
void
DiagnosticEventStore. store(DiagnosticEvent event)
Stores provided event and returns the new associated store key for it. -
Uses of DiagnosticEvent in org.apache.cassandra.gms
Subclasses of DiagnosticEvent in org.apache.cassandra.gms Modifier and Type Class Description class
GossiperEvent
DiagnosticEvent implementation forGossiper
activities. -
Uses of DiagnosticEvent in org.apache.cassandra.locator
Subclasses of DiagnosticEvent in org.apache.cassandra.locator Modifier and Type Class Description class
TokenMetadataEvent
Events related toTokenMetadata
changes. -
Uses of DiagnosticEvent in org.apache.cassandra.schema
Subclasses of DiagnosticEvent in org.apache.cassandra.schema Modifier and Type Class Description class
SchemaEvent
-