Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Cassandra
Cluster
Builder
withLatencyAwareRouting
Cassandra\Cluster\Builder::withLatencyAwareRouting PHP Method
Builder Class Documentation
Show file
Open project: datastax/php-driver
withLatencyAwareRouting()
public
method
Enables/disables latency-aware routing.
public
withLatencyAwareRouting
(
boolean
$enabled
= true ) :
Builder
$enabled
boolean
whether to actually enable or disable the routing.
return
Builder
self
public function withLatencyAwareRouting($enabled = true) { }
Builder
build
withConnectTimeout
withConnectionsPerHost
withContactPoints
withCredentials
withDatacenterAwareRoundRobinLoadBalancingPolicy
withDefaultConsistency
withDefaultPageSize
withDefaultTimeout
withIOThreads
withLatencyAwareRouting
withPersistentSessions
withPort
withProtocolVersion
withReconnectInterval
withRequestTimeout
withRetryPolicy
withRoundRobinLoadBalancingPolicy
withSSL
withSchemaMetadata
withTCPKeepalive
withTCPNodelay
withTimestampGenerator
withTokenAwareRouting