BaseWorker
abstract class BaseWorker
Properties
| SystemWorkerController | $mod |
Methods
No description
No description
No description
Sends a request containing the callback URI in order to test, whether the callback can be called from the worker back to XELOS.
No description
Fetches the package max length from the environment variables (most likely the Docker environment) and calculates the length according to the unit.
No description
No description
Fetches the package_max_length setting from the video worker instance used for comparison with the local setting.
Returns the logs of worker requests.
Retrieve current worker stats Currently this is primarily based upon Openswoole (see https://openswoole.com/docs/modules/swoole-server-stats )
Can we connect to the worker service / container?
Details
at line 15
__construct(SystemWorkerController $mod)
No description
at line 81
BaseWorker
applyXELOSConfigurationParameters()
No description
at line 78
abstract Base
getApiClient()
No description
at line 27
string|null
getApiHost()
No description
at line 143
array|null
getCallbackCheckResult(string $callbackUri, string|null $bearerToken = null)
Sends a request containing the callback URI in order to test, whether the callback can be called from the worker back to XELOS.
at line 74
static string
getIconClass()
No description
at line 128
protected int|null
getLocalPackageMaxLength()
Fetches the package max length from the environment variables (most likely the Docker environment) and calculates the length according to the unit.
at line 70
string
getName()
No description
at line 19
string
getWorkerID()
No description
at line 115
protected int
getWorkerPackageMaxLength()
Fetches the package_max_length setting from the video worker instance used for comparison with the local setting.
at line 157
array
getWorkerRequestLog()
Returns the logs of worker requests.
at line 57
array
getWorkerStats()
Retrieve current worker stats Currently this is primarily based upon Openswoole (see https://openswoole.com/docs/modules/swoole-server-stats )
at line 36
bool
isWorkerAvailable()
Can we connect to the worker service / container?