Creates a plugin that prefixes all keys passed to a lock adapter.
Every method that accepts a lock key will have the given prefix prepended
before the call is forwarded to the underlying adapter. This is useful for
namespacing locks when multiple independent consumers share the same lock
backend.
Creates a plugin that prefixes all keys passed to a lock adapter.
Every method that accepts a lock key will have the given
prefixprepended before the call is forwarded to the underlying adapter. This is useful for namespacing locks when multiple independent consumers share the same lock backend.