ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Alias for disconnect(), mirroring memjs's own quit()/close() naming.
Returns the underlying memjs client for anything not wrapped here.
Store value under key, overwriting any existing value. Strings and
Buffers are stored verbatim; other values are JSON-serialized (see
serialize). Returns memjs's boolean success flag.
Optionaloptions: MemcachedWriteOptionsRead key. Returns null if the key is missing. By default returns the
raw Buffer; pass { decode: 'string' } or { decode: 'json' } to
decode the stored value.
Delete key. Returns memjs's boolean success flag.
Store value under key only if the key does not already exist
(Memcached add). Returns false if the key was already present.
Optionaloptions: MemcachedWriteOptionsStore value under key only if the key already exists (Memcached
replace). Returns false if the key was missing.
Optionaloptions: MemcachedWriteOptionsAtomically increment the numeric value at key by amount.
Optionaloptions: MemcachedWriteOptionsAtomically decrement the numeric value at key by amount.
Optionaloptions: MemcachedWriteOptionsFlush (delete) all keys across every configured server.
MemcachedStorewraps amemjsclient and exposes Memcached's key-value operations as a typed, promise-based API.