(delete-cache)(delete-cache {:as params :keys [cache-id]})(delete-cache connection {:as params :keys [cache-id]})Deletes a cache.
Parameters map keys:
| Key | Description |
|---|---|
| :cache-id | Id of cache for deletion. |
Deletes a cache. Parameters map keys: Key | Description ----------|------------ :cache-id | Id of cache for deletion.
(delete-entry)(delete-entry {:as params :keys [cache-id request]})(delete-entry connection {:as params :keys [cache-id request]})Deletes a cache entry.
Parameters map keys:
| Key | Description |
|---|---|
| :cache-id | Id of cache where the entry will be deleted. |
| :request | URL spec of the request. |
Deletes a cache entry. Parameters map keys: Key | Description ----------|------------ :cache-id | Id of cache where the entry will be deleted. :request | URL spec of the request.
(request-cache-names)(request-cache-names {:as params :keys [security-origin]})(request-cache-names connection {:as params :keys [security-origin]})Requests cache names.
Parameters map keys:
| Key | Description |
|---|---|
| :security-origin | Security origin. |
Return map keys:
| Key | Description |
|---|---|
| :caches | Caches for the security origin. |
Requests cache names. Parameters map keys: Key | Description -----------------|------------ :security-origin | Security origin. Return map keys: Key | Description --------|------------ :caches | Caches for the security origin.
(request-cached-response)(request-cached-response {:as params :keys [cache-id request-url]})(request-cached-response connection {:as params :keys [cache-id request-url]})Fetches cache entry.
Parameters map keys:
| Key | Description |
|---|---|
| :cache-id | Id of cache that contains the enty. |
| :request-url | URL spec of the request. |
Return map keys:
| Key | Description |
|---|---|
| :response | Response read from the cache. |
Fetches cache entry. Parameters map keys: Key | Description -------------|------------ :cache-id | Id of cache that contains the enty. :request-url | URL spec of the request. Return map keys: Key | Description ----------|------------ :response | Response read from the cache.
(request-entries)(request-entries {:as params :keys [cache-id skip-count page-size]})(request-entries connection {:as params :keys [cache-id skip-count page-size]})Requests data from cache.
Parameters map keys:
| Key | Description |
|---|---|
| :cache-id | ID of cache to get entries from. |
| :skip-count | Number of records to skip. |
| :page-size | Number of records to fetch. |
Return map keys:
| Key | Description |
|---|---|
| :cache-data-entries | Array of object store data entries. |
| :has-more | If true, there are more entries to fetch in the given range. |
Requests data from cache. Parameters map keys: Key | Description ------------|------------ :cache-id | ID of cache to get entries from. :skip-count | Number of records to skip. :page-size | Number of records to fetch. Return map keys: Key | Description --------------------|------------ :cache-data-entries | Array of object store data entries. :has-more | If true, there are more entries to fetch in the given range.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |