redisJobRunnerService
Continuously process a MediaWiki jobqueue
Loading...
Searching...
No Matches
RedisJobChronService Class Reference
+ Inheritance diagram for RedisJobChronService:

Public Member Functions

 main ()
 Entry point method that starts the service in earnest and keeps running.
 
 getTTLForType ( $type)
 
 getAttemptsForType ( $type)
 
- Public Member Functions inherited from RedisJobService
 getReadyQueueKey ()
 
 encQueueName ( $type, $domain)
 
 dencQueueName ( $name)
 
 getRedisConn ( $server)
 
 handleRedisError (RedisException $e, $server)
 
 redisCmd (Redis $conn, $cmd, array $args=[])
 
 redisCmdHA (array $servers, $cmd, array $args=[])
 Execute a command on the current working server in $servers.
 
 redisCmdBroadcast (array $servers, $cmd, array $args=[])
 Execute a command on all servers in $servers.
 
 incrStats ( $event, $delta=1)
 
 debug ( $s)
 
 notice ( $s)
 
 error ( $s)
 

Additional Inherited Members

- Static Public Member Functions inherited from RedisJobService
static init (array $args)
 
static checkEnvironment ()
 Terminate this script if the OS/PHP environment is incompatible.
 
- Public Attributes inherited from RedisJobService
 $loopMap = []
 
 $maxRealMap = []
 
 $maxMemMap = []
 
 $dispatcher
 
 $hpMaxDelay = 120
 
 $lpMaxTime = 60
 
 $lpMaxDelay = 600
 
 $hpMaxTime = 30
 
- Protected Member Functions inherited from RedisJobService
 __construct (array $config)
 
 sendStats ()
 Actually send the stats that have been saved in $this->statsdPackets.
 
- Protected Attributes inherited from RedisJobService
 $queueSrvs = []
 
 $aggrSrvs = []
 
 $password
 
 $wrapper
 
 $statsdHost
 
 $statsdPort
 
 $verbose
 
 $claimTTLMap = []
 
 $attemptsMap = []
 
 $conns = []
 
 $downSrvs = []
 

Member Function Documentation

◆ getAttemptsForType()

RedisJobChronService::getAttemptsForType ( $type)
Parameters
string$typeQueue type
Returns
int

◆ getTTLForType()

RedisJobChronService::getTTLForType ( $type)
Parameters
string$typeQueue type
Returns
int Seconds

◆ main()

RedisJobChronService::main ( )

Entry point method that starts the service in earnest and keeps running.

Returns
never

Setup signal handlers...

Returns
never

Reimplemented from RedisJobService.


The documentation for this class was generated from the following file: