接口 CassandraConnectionDetails
- 所有超级接口:
ConnectionDetails
Details required to establish a connection to a Cassandra service.
- 从以下版本开始:
- 3.1.0
- 作者:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
方法详细资料
-
getContactPoints
List<CassandraConnectionDetails.Node> getContactPoints()Cluster node addresses.- 返回:
- the cluster node addresses
-
getUsername
Login user of the server.- 返回:
- the login user of the server or
null
-
getPassword
Login password of the server.- 返回:
- the login password of the server or
null
-
getLocalDatacenter
String getLocalDatacenter()Datacenter that is considered "local". Contact points should be from this datacenter.- 返回:
- the datacenter that is considered "local"
-