\Threadator\Communication\DriverRedis

Summary

Methods
Properties
Constants
getClient()
send()
touch()
receive()
__destruct()
__construct()
__clone()
getIdentifier()
No public properties found
WAIT_USLEEP
init()
$client
$identifier
N/A
No private methods found
No private properties found
N/A

Constants

WAIT_USLEEP

WAIT_USLEEP

Properties

$client

$client : \Redis

Type

\Redis

$identifier

$identifier : string

Type

string

Methods

getClient()

getClient() : \Redis

Returns

\Redis

send()

send(int $key, mixed $message) : bool

Parameters

int $key
mixed $message

Returns

bool

touch()

touch(int $key, mixed $message) : bool

Try to get message, but do not block

Parameters

int $key
mixed $message

Returns

bool

receive()

receive(int $key, mixed $message) : bool

Block until the first message arrives

Parameters

int $key
mixed $message

Returns

bool

__destruct()

__destruct() : void

__construct()

__construct(string $identifier)

Parameters

string $identifier

__clone()

__clone() : void

getIdentifier()

getIdentifier() : string

Returns

string

init()

init() : void