MCPcopy Create free account
hub / github.com/FirebirdSQL/jaybird / EventHandler

Interface EventHandler

src/main/org/firebirdsql/gds/EventHandler.java:30–44  ·  view source on GitHub ↗

A callback handler interface for event handling.

Source from the content-addressed store, hash-verified

28 * A callback handler interface for event handling.
29 */
30public interface EventHandler {
31
32 /**
33 * Called when a database event occurs.
34 * <p>
35 * Implementations should take care to only perform short processing on the current thread. If longer or
36 * complicated processing is necessary, please offload it to another thread or executor.
37 * </p>
38 *
39 * @param eventHandle
40 * The event handle
41 */
42 void eventOccurred(EventHandle eventHandle);
43
44}

Callers 2

eventOccurredMethod · 0.65
onEventOccurredMethod · 0.65

Implementers 5

SimpleEventHandlersrc/test/org/firebirdsql/gds/ng/Simple
FBEventManagerTestsrc/test/org/firebirdsql/event/FBEvent
AccumulatingEventListenersrc/test/org/firebirdsql/event/FBEvent
OneTimeEventListenersrc/main/org/firebirdsql/event/OneTime
GdsEventHandlersrc/main/org/firebirdsql/event/FBEvent

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…