PHP 클래스 Cassandra\RetryPolicyIntegrationTest

상속: extends BasicIntegrationTest
파일 보기 프로젝트 열기: datastax/php-driver

공개 메소드들

메소드 설명
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.