RedisDataSource

Service type for Redis data source.

package

Default

Methods

__construct

__construct() 

Convenient method to create a record for a Redis data source.

createRecord( $arg0,  $arg1,  $arg2) : \io\vertx\jphp\servicediscovery\Record
static

Arguments

$arg0

string

$arg1

array

$arg2

array

Response

\io\vertx\jphp\servicediscovery\Record

the created record

Convenient method that looks for a Redis data source and provides the configured @see \io\vertx\jphp\redis\RedisClient.

getRedisClient( $arg0,  $arg1,  $arg2,  $arg3 = null) : void
static

The async result is marked as failed is there are no matching services, or if the lookup fails.

param $discovery [ServiceDiscovery] The service discovery instance param $filter [array] The filter, optional param $resultHandler [callable] The result handler getRedisClient($discovery, $filter, $resultHandler)

Convenient method that looks for a Redis data source and provides the configured @see \io\vertx\jphp\redis\RedisClient. The async result is marked as failed is there are no matching services, or if the lookup fails.

param $discovery [ServiceDiscovery] The service discovery instance param $filter [callable] The filter, cannot be {@code null} param $resultHandler [callable] The result handler getRedisClient($discovery, $filter, $resultHandler)

Convenient method that looks for a Redis data source and provides the configured @see \io\vertx\jphp\redis\RedisClient. The async result is marked as failed is there are no matching services, or if the lookup fails.

param $discovery [ServiceDiscovery] The service discovery instance param $filter [array] The filter, optional param $consumerConfiguration [array] The additional consumer configuration param $resultHandler [callable] The result handler getRedisClient($discovery, $filter, $consumerConfiguration, $resultHandler)

Convenient method that looks for a Redis data source and provides the configured @see \io\vertx\jphp\redis\RedisClient. The async result is marked as failed is there are no matching services, or if the lookup fails.

param $discovery [ServiceDiscovery] The service discovery instance param $filter [callable] The filter, cannot be {@code null} param $consumerConfiguration [array] The additional consumer configuration param $resultHandler [callable] The result handler getRedisClient($discovery, $filter, $consumerConfiguration, $resultHandler)

Arguments

$arg0

ServiceDiscovery

$arg1

callable | array

$arg2

callable | array

$arg3

callable

Constants

Unknown type.

UNKNOWN
var

php文件只是为了写代码方便,常量的实际值请参考原java文件

TYPE

TYPE
var

php文件只是为了写代码方便,常量的实际值请参考原java文件