PHP 클래스 Gearman_Async_Task, WP-Gears

상속: extends WP_Async_Task
파일 보기 프로젝트 열기: 10up/wp-gears

보호된 프로퍼티들

프로퍼티 타입 설명
$_client GearmanClient
$_worker GearmanWorker

공개 메소드들

메소드 설명
add ( $hook, $args = [], $priority = 'normal' )
do_job ( $job )
gearman_function ( ) : string Returns the gearman function group for this install
init ( )
work ( ) * Task Runner

메소드 상세

add() 공개 메소드

public add ( $hook, $args = [], $priority = 'normal' )

do_job() 공개 메소드

public do_job ( $job )

gearman_function() 공개 메소드

Returns the gearman function group for this install
public gearman_function ( ) : string
리턴 string

init() 공개 메소드

public init ( )

work() 공개 메소드

* Task Runner
public work ( )

프로퍼티 상세

$_client 보호되어 있는 프로퍼티

protected GearmanClient $_client
리턴 GearmanClient

$_worker 보호되어 있는 프로퍼티

protected GearmanWorker $_worker
리턴 GearmanWorker