PHP Класс Cassandra\RetryPolicyIntegrationTest

Наследование: extends BasicIntegrationTest
Показать файл Открыть проект

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

Метод Описание
setUp ( ) Setup the retry policy for multiple nodes.
testDowngradingPolicy ( ) Statement execution supports downgrading consistency retry policy.
testFallThroughPolicyRead ( ) Statement execution supports fallthrough retry policy (read exception).
testFallThroughPolicyWrite ( ) Statement execution supports fallthrough retry policy (write exception).

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

Метод Описание
assert ( RetryPolicy $policy, $key, $numberOfAsserts, $consistency, integer $retries = self::NUMBER_OF_TIMEOUT_EXCEPTIONS ) Assert n values in the table for a given key.
insert ( $statementType, RetryPolicy $policy, $key, $numberOfInserts, $consistency, integer $retries = self::NUMBER_OF_TIMEOUT_EXCEPTIONS ) Insert n values into the table for a given key.

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

setUp() публичный метод

Setup the retry policy for multiple nodes.
public setUp ( )

testDowngradingPolicy() публичный метод

This test will ensure that the PHP driver supports the downgrading retry policy when executing statements.

testFallThroughPolicyRead() публичный метод

This test will ensure that the PHP driver supports the ability to provide any exception that occurs when executing statements. This test will ensure that a ReadTimeoutException occurs when a consistency level cannot be achieved.

testFallThroughPolicyWrite() публичный метод

This test will ensure that the PHP driver supports the ability to provide any exception that occurs when executing statements. This test will ensure that a WriteTimeoutException occurs when a consistency level cannot be achieved.