Util/Gearman/Worker.php
- Classes
- Kwf_Util_Gearman_Worker
\Kwf_Util_Gearman_Worker
- Extends from
- \GearmanWorker
-
Methods
- addFunction
- createInstance
- register
- unregister
Methods
addFunction(
$function_name, $function, $context
=
null, $timeout
=
null
)
:
Arguments
- $function_name
- $function
- $context
- $timeout
Details
- visibility
- public
- final
- false
- static
- false
createInstance(
$group
=
null
)
:
\Kwf_Util_Gearman_Worker
Details
- visibility
- public
- final
- false
- static
- true
- fluent
- This method is part of a fluent interface and will return the same instance
register(
$function_name, $timeout
)
:
Arguments
- $function_name
- $timeout
Details
- visibility
- public
- final
- false
- static
- false
unregister(
$function_name
)
:
Details
- visibility
- public
- final
- false
- static
- false