interface WorkerManagerInterface

Queue worker manager interface

Methods

bool
run()

Run worker

bool
isRunning()

Return true if worker is running

bool
stop()

Stop worker

string
getTitle()

Get title

string|null
getDescription()

Get description

array
getDetails()

Get worker service details

string
getHost()

Get host

string
getPort()

Get port

Details

at line 22
bool run()

Run worker

Return Value

bool

at line 29
bool isRunning()

Return true if worker is running

Return Value

bool

at line 36
bool stop()

Stop worker

Return Value

bool

at line 43
string getTitle()

Get title

Return Value

string

at line 50
string|null getDescription()

Get description

Return Value

string|null

at line 57
array getDetails()

Get worker service details

Return Value

array

at line 64
string getHost()

Get host

Return Value

string

at line 71
string getPort()

Get port

Return Value

string