6 package com.vesoft.nebula.client.storage;
8 import com.vesoft.nebula.client.graph.data.SSLParam;
9 import java.io.Serializable;
13 private static final long serialVersionUID = 8022858741090966149L;
16 private int minConnsSize = 0;
19 private int maxConnsSize = 10;
22 private int timeout = 0;
27 private int idleTime = 0;
30 private int maxTotal = 50;
33 private int maxTotalPerKey = 10;
35 private boolean enableSSL =
false;
39 public int getMinConnsSize() {
43 public void setMinConnsSize(
int minConnsSize) {
44 this.minConnsSize = minConnsSize;
47 public int getMaxConnsSize() {
51 public void setMaxConnsSize(
int maxConnsSize) {
52 this.maxConnsSize = maxConnsSize;
55 public int getTimeout() {
59 public void setTimeout(
int timeout) {
60 this.timeout = timeout;
63 public int getIdleTime() {
67 public void setIdleTime(
int idleTime) {
68 this.idleTime = idleTime;
71 public int getMaxTotal() {
75 public void setMaxTotal(
int maxTotal) {
76 this.maxTotal = maxTotal;
79 public int getMaxTotalPerKey() {
80 return maxTotalPerKey;
83 public void setMaxTotalPerKey(
int maxTotalPerKey) {
84 this.maxTotalPerKey = maxTotalPerKey;
87 public boolean isEnableSSL() {
91 public void setEnableSSL(
boolean enableSSL) {
92 this.enableSSL = enableSSL;
99 public void setSslParam(
SSLParam sslParam) {
100 this.sslParam = sslParam;