Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cassandra-python-driver
/ default_lbp_factory
Function
default_lbp_factory
cassandra/cluster.py:262–265 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
260
261
262
def
default_lbp_factory():
263
if
murmur3 is not None:
264
return
TokenAwarePolicy(DCAwareRoundRobinPolicy())
265
return
DCAwareRoundRobinPolicy()
266
267
268
class
ContinuousPagingOptions(object):
Callers
8
session_setup
Method · 0.90
session_setup
Method · 0.90
test_default_exec_parameters
Method · 0.90
test_no_legacy_with_profile
Method · 0.90
test_exec_profile_clone
Method · 0.90
__init__
Method · 0.85
__init__
Method · 0.85
__init__
Method · 0.85
Calls
2
TokenAwarePolicy
Class · 0.90
DCAwareRoundRobinPolicy
Class · 0.90
Tested by
3
test_default_exec_parameters
Method · 0.72
test_no_legacy_with_profile
Method · 0.72
test_exec_profile_clone
Method · 0.72