Interface EventListener
public interface EventListener
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidqueryCompleted(QueryCompletedEvent queryCompletedEvent) default voidqueryCreated(QueryCreatedEvent queryCreatedEvent) default booleanSpecify whether the plan included in QueryCompletedEvent should be anonymized or notdefault voidshutdown()Shutdown the event listener by releasing any held resources such as threads, sockets, etc.default voidsplitCompleted(SplitCompletedEvent splitCompletedEvent)
-
Method Details
-
queryCreated
-
queryCompleted
-
splitCompleted
-
requiresAnonymizedPlan
default boolean requiresAnonymizedPlan()Specify whether the plan included in QueryCompletedEvent should be anonymized or not -
shutdown
default void shutdown()Shutdown the event listener by releasing any held resources such as threads, sockets, etc. After this method is called, no methods will be called on the event listener.
-