Note the MemoryLockAdapter is limited to single process usage and cannot be shared across multiple servers or different processes.
This adapter is meant to be used for testing.
The refresh method will upadte ttl of lock if it matches the given key and matches the given owner.
Returns true if the update occured otherwise false is returned.
Note the
MemoryLockAdapter
is limited to single process usage and cannot be shared across multiple servers or different processes. This adapter is meant to be used for testing.IMPORT_PATH:
"@daiso-tech/core/lock/adapters"