class Illuminate / Queue / LuaScripts
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

LuaScripts

Methods

public static

size ( ) : string

Get the Lua script for computing the size of queue.

public static

push ( ) : string

Get the Lua script for pushing jobs onto the queue.

public static

pop ( ) : string

Get the Lua script for popping the next job off of the queue.

public static

release ( ) : string

Get the Lua script for releasing reserved jobs.

public static

migrateExpiredJobs ( ) : string

Get the Lua script to migrate expired jobs back onto the queue.

public static

clear ( ) : string

Get the Lua script for removing all jobs from the queue.