Liking cljdoc? Tell your friends :D

konserve-azure-blob.core

Azure Blob Storage backend for konserve.

Azure Blob Storage backend for konserve.
raw docstring

batch-sub-request-attemptsclj

source

build-service-clientclj

(build-service-client {:keys [service-client connection-string endpoint
                              account-name credential service-version]})

Build a BlobServiceClient from a backend spec.

Supported inputs, in precedence order:

  • :service-client
  • :connection-string
  • :endpoint plus :credential
  • :account-name plus DefaultAzureCredential
Build a BlobServiceClient from a backend spec.

Supported inputs, in precedence order:
- :service-client
- :connection-string
- :endpoint plus :credential
- :account-name plus DefaultAzureCredential
sourceraw docstring

clear-client-cache!clj

(clear-client-cache!)

Forget cached service clients. Azure SDK clients do not require closing.

Forget cached service clients. Azure SDK clients do not require closing.
sourceraw docstring

client-cache-sizeclj

(client-cache-size)

Number of shared clients currently retained by the bounded cache.

Number of shared clients currently retained by the bounded cache.
sourceraw docstring

connect-storeclj

(connect-store spec & {:keys [opts] :or {opts {:sync? true}}})

Connect a DefaultStore to Azure Blob Storage. The multimethod API should be preferred by applications; this lower-level entry point retains the sibling backends' direct API.

Connect a DefaultStore to Azure Blob Storage. The multimethod API should be
preferred by applications; this lower-level entry point retains the sibling
backends' direct API.
sourceraw docstring

default-buffer-sizeclj

source

default-containerclj

source

default-key-page-sizeclj

source

default-max-edn-value-sizeclj

source

default-max-metadata-sizeclj

source

default-service-versionclj

source

delete-objects!clj

(delete-objects! batch-client container-client names)

Non-atomically delete the blobs names through Blob Batch, in requests of at most max-batch-size sub-requests. Returns {:deleted #{names} :failed {name diagnostic}} with every distinct name in exactly one category. A missing blob (404 BlobNotFound) counts as deleted. Sub-requests failing with 500/503 are resubmitted up to batch-sub-request-attempts times in all.

A batch request that fails outright throws when no name has an outcome yet. Otherwise the outcomes already known are kept, and the names of the failed request and of all requests not yet submitted are reported in :failed with the error, as their outcome is unknown.

Non-atomically delete the blobs `names` through Blob Batch, in requests of at
most `max-batch-size` sub-requests. Returns {:deleted #{names} :failed {name
diagnostic}} with every distinct name in exactly one category. A missing blob
(404 BlobNotFound) counts as deleted. Sub-requests failing with 500/503 are
resubmitted up to `batch-sub-request-attempts` times in all.

A batch request that fails outright throws when no name has an outcome yet.
Otherwise the outcomes already known are kept, and the names of the failed
request and of all requests not yet submitted are reported in :failed with
the error, as their outcome is unknown.
sourceraw docstring

delete-storeclj

(delete-store spec & {:keys [opts] :or {opts {:sync? true}}})
source

io-executor-statsclj

(io-executor-stats)

Current bounded I/O executor utilization, for monitoring and tests.

Current bounded I/O executor utilization, for monitoring and tests.
sourceraw docstring

io-queue-capacityclj

source

io-thread-countclj

source

max-batch-sizeclj

source

max-cached-clientsclj

source

max-list-page-sizeclj

source

read-objectclj

(read-object container-client name)

Read a complete blob and return {:data byte-array :etag string}, or ::not-found. This low-level helper intentionally materializes its result; normal store reads use bounded ranges or streams instead.

Read a complete blob and return {:data byte-array :etag string}, or
::not-found. This low-level helper intentionally materializes its result;
normal store reads use bounded ranges or streams instead.
sourceraw docstring

releaseclj

(release store-instance env)
source

service-clientclj

(service-client spec)

Return an injected client or a shared client for this endpoint and credential set.

Return an injected client or a shared client for this endpoint and credential set.
sourceraw docstring

shutdown-io-executor!clj

(shutdown-io-executor!)

Stop the shared daemon I/O executor, primarily for application shutdown.

Stop the shared daemon I/O executor, primarily for application shutdown.
sourceraw docstring

spec->store-pathclj

(spec->store-path {:keys [store-path id]})
source

write-object!clj

(write-object! container-client name bytes expected-etag)

Create or overwrite a blob. When expected-etag is non-nil, use If-Match and return false on a CAS conflict; otherwise return true.

Create or overwrite a blob. When expected-etag is non-nil, use If-Match and
return false on a CAS conflict; otherwise return true.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close