interface WorkerInterface (View source)

Methods

string
getId()

Get worker id (unique).

string
getName()

Get worker name.

null
spinup()

Spinup worker

null
loop()

The worker loop

null
spindown()

Spindown worker

Details

string getId()

Get worker id (unique).

Return Value

string

string getName()

Get worker name.

Return Value

string

null spinup()

Spinup worker

Return Value

null

null loop()

The worker loop

This method will be called inside the main daemon loop

Return Value

null

null spindown()

Spindown worker

Return Value

null