A callback handler interface for event handling.
| 28 | * A callback handler interface for event handling. |
| 29 | */ |
| 30 | public 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 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…