(on-connection-error:try-restart-transactor ex messenger messenger-id)
This is an error-listener function installed on the transactor's Messenger.
When a messaging connection encounters an exception, error-listener functions will be called. In the event of such an error, this function attempts to re-initiate the messenger once.
If re-initiation fails then the JVM will exit (ie. fast fail), and an external process-manager is expected to restart the process.
This is an error-listener function installed on the transactor's Messenger. When a messaging connection encounters an exception, error-listener functions will be called. In the event of such an error, this function attempts to re-initiate the messenger *once*. If re-initiation fails then the JVM will exit (ie. fast fail), and an external process-manager is expected to restart the process.
(process-index-updates-impl
{:as txor :keys [database-id database-connection config transactor-id]}
{:as updates :keys [index-updates]})
(process-transaction-impl {:as txor
:keys [txor-timer messenger database-connection
transaction-pub-addr database-id config
transactor-id]}
{:as request :keys [tx-data]})
(transactor user-id {:as config})
Exists for the tracing & metrics on transactor creation. Acquires the transactor resource.
Exists for the tracing & metrics on transactor creation. Acquires the transactor resource.
(transactor* {:as config})
Constructs an uninitiated transactor from config.
Constructs an uninitiated transactor from config.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close