Liking cljdoc? Tell your friends :D

metabase.events.driver-notifications

Driver notifications are used to let drivers know database details or other relevant information has changed (:database-update) or that a Database has been deleted (:database-delete). Drivers can choose to be notified of these events by implementing the metabase.driver/notify-database-updated multimethod. At the time of this writing, the SQL JDBC driver 'superclass' is the only thing that implements this method, and does so to close connection pools when database details change or when they are deleted.

Driver notifications are used to let drivers know database details or other relevant information has
changed (`:database-update`) or that a Database has been deleted (`:database-delete`). Drivers can choose to be
notified of these events by implementing the `metabase.driver/notify-database-updated` multimethod. At the time of
this writing, the SQL JDBC driver 'superclass' is the only thing that implements this method, and does so to close
connection pools when database details change or when they are deleted.
raw docstring

events-initclj

(events-init)

Automatically called during startup; start event listener for database sync events.

Automatically called during startup; start event listener for database sync events.
sourceraw docstring

process-driver-notifications-eventclj

(process-driver-notifications-event driver-notifications-event)

Handle processing for a single event notification received on the driver-notifications-channel

Handle processing for a single event notification received on the driver-notifications-channel
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close