PHP 인터페이스 Graze\Supervisor\SupervisorInterface

파일 보기 프로젝트 열기: graze/supervisor 0 사용 예제들

공개 메소드들

메소드 설명
ping ( ) : boolean
restart ( callable $fn = null ) : Graze\Supervisor\SupervisorInterface
start ( callable $fn = null ) : Graze\Supervisor\SupervisorInterface
stop ( integer $signal = null ) : Graze\Supervisor\SupervisorInterface
supervise ( float $delay = 0.001 ) : Graze\Supervisor\SupervisorInterface

메소드 상세

ping() 공개 메소드

public ping ( ) : boolean
리턴 boolean

restart() 공개 메소드

public restart ( callable $fn = null ) : Graze\Supervisor\SupervisorInterface
$fn callable
리턴 Graze\Supervisor\SupervisorInterface

start() 공개 메소드

public start ( callable $fn = null ) : Graze\Supervisor\SupervisorInterface
$fn callable
리턴 Graze\Supervisor\SupervisorInterface

stop() 공개 메소드

public stop ( integer $signal = null ) : Graze\Supervisor\SupervisorInterface
$signal integer
리턴 Graze\Supervisor\SupervisorInterface

supervise() 공개 메소드

public supervise ( float $delay = 0.001 ) : Graze\Supervisor\SupervisorInterface
$delay float
리턴 Graze\Supervisor\SupervisorInterface