ldclient_storage_cache
module.
ldclient_storage_cache
module
create/4 | |
delete/5 | |
empty/4 | |
get/5 | |
init/3 | |
terminate/1 | |
upsert/5 | |
upsert_clean/5 |
create(Tag::atom(), Bucket::atom(), ServerRef::atom(), StorageBackend::atom()) -> ok | {error, already_exists, string()}
delete(Tag::atom(), Bucket::atom(), Key::binary(), ServerRef::atom(), StorageBackend::atom()) -> ok | {error, bucket_not_found, string()}
empty(Tag::atom(), Bucket::atom(), ServerRef::atom(), StorageBackend::atom()) -> ok | {error, bucket_not_found, string()}
get(Tag::atom(), Bucket::atom(), Key::binary(), ServerRef::atom(), StorageBackend::atom()) -> [{Key::binary(), Value::any()}] | {error, bucket_not_found, string()}
init(SupRef::atom(), Tag::atom(), Options::list()) -> ok
terminate(Tag::atom()) -> ok
upsert(Tag::atom(), Bucket::atom(), Items::#{Key::binary() => Value::any()}, ServerRef::atom(), StorageBackend::atom()) -> ok | {error, bucket_not_found, string()}
upsert_clean(Tag::atom(), Bucket::atom(), Items::#{Key::binary() => Value::any()}, ServerRef::atom(), StorageBackend::atom()) -> ok | {error, bucket_not_found, string()}
Generated by EDoc