6 package com.vesoft.nebula.client.graph;
8 import com.vesoft.nebula.client.graph.data.HostAddress;
9 import com.vesoft.nebula.client.graph.net.NebulaPool;
10 import java.io.Serializable;
11 import java.util.ArrayList;
12 import java.util.List;
16 private static final long serialVersionUID = -2460063747630193912L;
19 private List<HostAddress> addresses =
new ArrayList<>();
22 private String userName =
"root";
25 private String password =
"nebula";
28 private String spaceName =
"";
31 private Boolean reconnect =
true;
36 public List<HostAddress> getAddresses() {
41 this.addresses = addresses;
45 public String getUserName() {
50 this.userName = userName;
54 public String getPassword() {
59 this.password = password;
63 public String getSpaceName() {
68 this.spaceName = spaceName;
72 public Boolean getReconnect() {
76 public void setReconnect(Boolean reconnect) {
77 this.reconnect = reconnect;
85 this.poolConfig = poolConfig;