[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/infrastructure/daemon/workers/query/ -> PhabricatorWorkerLeaseQuery.php (summary)

Select and lease tasks from the worker task queue.

File Size: 253 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 functions

  getDefaultWaitBeforeRetry()
  getDefaultLeaseDuration()
  setSkipLease()
  withIDs()
  setLimit()
  execute()
  buildWhereClause()
  buildUpdateWhereClause()
  buildOrderClause()
  buildLimitClause()
  getLeaseOwnershipName()

Functions
Functions that are not part of a class:

getDefaultWaitBeforeRetry()   X-Ref
No description

getDefaultLeaseDuration()   X-Ref
No description

setSkipLease($skip)   X-Ref
Set this flag to select tasks from the top of the queue without leasing
them.

This can be used to show which tasks are coming up next without altering
the queue's behavior.

param: bool True to skip the lease acquisition step.

withIDs(array $ids)   X-Ref
No description

setLimit($limit)   X-Ref
No description

execute()   X-Ref
No description

buildWhereClause(AphrontDatabaseConnection $conn_w, $phase)   X-Ref
No description

buildUpdateWhereClause(AphrontDatabaseConnection $conn_w,$phase,array $rows)   X-Ref
No description

buildOrderClause(AphrontDatabaseConnection $conn_w, $phase)   X-Ref
No description

buildLimitClause(AphrontDatabaseConnection $conn_w, $limit)   X-Ref
No description

getLeaseOwnershipName()   X-Ref
No description



Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1