Service type for Redis data source.
package |
Default |
---|
__construct()
createRecord( $arg0, $arg1, $arg2) : \io\vertx\jphp\servicediscovery\Record
string
array
array
\io\vertx\jphp\servicediscovery\Record
the created record
getRedisClient( $arg0, $arg1, $arg2, $arg3 = null) : void
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)
ServiceDiscovery
callable | array
callable | array
callable
UNKNOWN
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
TYPE
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|