PHP Interface ManaPHP\Message\QueueInterface

Datei anzeigen Open project: manaphp/manaphp

Public Methods

Method Description
delete ( string $topic ) : void
length ( string $topic, integer $priority = null ) : integer
pop ( string $topic, integer $timeout = PHP_INT_MAX ) : string | false
push ( string $topic, string $body, integer $priority = self::PRIORITY_NORMAL ) : void

Method Details

delete() public method

public delete ( string $topic ) : void
$topic string
return void

length() public method

public length ( string $topic, integer $priority = null ) : integer
$topic string
$priority integer
return integer

pop() public method

public pop ( string $topic, integer $timeout = PHP_INT_MAX ) : string | false
$topic string
$timeout integer
return string | false

push() public method

public push ( string $topic, string $body, integer $priority = self::PRIORITY_NORMAL ) : void
$topic string
$body string
$priority integer
return void