PHP Класс Cassandra\Integration

Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( $className, string $testName = "", integer $numberDC1Nodes = 1, integer $numberDC2Nodes, integer $replicationFactor, boolean $isClientAuthentication = false, boolean $isSSL = false, boolean $isUserDefinedAggregatesFunctions = false ) : Integration Create the integration helper instance.
__destruct ( )
__get ( $property )
isDebug ( ) : boolean Determine if the debug argument was used when starting PHPUnit.
isVerbose ( ) : boolean Determine if the verbose argument was used when starting PHPUnit.

Приватные методы

Метод Описание
getContactPoints ( $ipAddress, $numberOfNodes ) : string Get the contact points for the cluster.
getShortName ( $className ) : string Get the short name of the class without the namespacing.

Описание методов

__construct() публичный Метод

Create the integration helper instance.
public __construct ( $className, string $testName = "", integer $numberDC1Nodes = 1, integer $numberDC2Nodes, integer $replicationFactor, boolean $isClientAuthentication = false, boolean $isSSL = false, boolean $isUserDefinedAggregatesFunctions = false ) : Integration
$className Name of the class for the executed test.
$testName string Name of the test being executed.
$numberDC1Nodes integer Number of nodes in data center one (DEFAULT: 1).
$numberDC2Nodes integer Number of nodes in data center two (DEFAULT: 0).
$replicationFactor integer Replication factor override; default is calculated based on number of data center nodes; single data center is (nodes / 2) rounded up.
$isClientAuthentication boolean True if client authentication should be enabled; false otherwise (DEFAULT: false).
$isSSL boolean True if SSL should be enabled; false otherwise (DEFAULT: false).
$isUserDefinedAggregatesFunctions boolean True if UDA/UDF functionality should be enabled; false otherwise (DEFAULT: false).
Результат Integration Instance of the Integration class created.

__destruct() публичный Метод

public __destruct ( )

__get() публичный Метод

public __get ( $property )

isDebug() публичный статический Метод

Determine if the debug argument was used when starting PHPUnit.
public static isDebug ( ) : boolean
Результат boolean True if debug argument was used; false otherwise

isVerbose() публичный статический Метод

Determine if the verbose argument was used when starting PHPUnit.
public static isVerbose ( ) : boolean
Результат boolean True if verbose argument was used; false otherwise