LuaScripts

class LuaScripts (View source)

Methods

static string releaseLock()

Get the Lua script to atomically release a lock.

Details

static string releaseLock()

Get the Lua script to atomically release a lock.

KEYS[1] - The name of the lock ARGV[1] - The owner key of the lock instance trying to release it

Return Value

string

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/6.x/Illuminate/Cache/LuaScripts.html