(->filesystem-checkpoint-store {:keys [path no-colons-in-filenames?]})
(apply-retention-policy {:keys [store :xtdb.checkpoint/cp-format
retention-policy]})
(calculate-deleteable-checkpoints checkpoints
{:keys [retain-newer-than retain-at-least]})
(checkpoint {:keys [dir bus src store :xtdb.checkpoint/cp-format
approx-frequency]
:as checkpoint-opts})
(start checkpointer src {:keys [:xtdb.checkpoint/cp-format]})
(try-restore checkpointer dir cp-format)
(available-checkpoints store {:keys [:xtdb.checkpoint/cp-format]})
(cleanup-checkpoint store {:keys [:xtdb.checkpoint/cp-format cp-at tx]})
(download-checkpoint store checkpoint dir)
(upload-checkpoint store dir {:keys [:xtdb.checkpoint/cp-format cp-at tx]})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close