JDBCDataSource

package

Default

Methods

__construct

__construct() 

createRecord

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

Arguments

$arg0

string

$arg1

array

$arg2

array

Response

\io\vertx\jphp\servicediscovery\Record

Convenient method that looks for a JDBC datasource source and provides the configured @see \io\vertx\jphp\ext\jdbc\JDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.

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

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

Convenient method that looks for a JDBC datasource source and provides the configured @see \io\vertx\jphp\ext\jdbc\JDBCClient. 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 (must not be {@code null}) param $resultHandler [callable] The result handler getJDBCClient($discovery, $filter, $resultHandler)

Convenient method that looks for a JDBC datasource source and provides the configured @see \io\vertx\jphp\ext\jdbc\JDBCClient. 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 consumer configuration param $resultHandler [callable] the result handler getJDBCClient($discovery, $filter, $consumerConfiguration, $resultHandler)

Convenient method that looks for a JDBC datasource source and provides the configured @see \io\vertx\jphp\ext\jdbc\JDBCClient. 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, must not be {@code null} param $consumerConfiguration [array] the consumer configuration param $resultHandler [callable] the result handler getJDBCClient($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文件