Package io.milvus.param
Class ConnectParam
- java.lang.Object
-
- io.milvus.param.ConnectParam
-
- Direct Known Subclasses:
MultiConnectParam
public class ConnectParam extends Object
Parameters for client connection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConnectParam.BuilderBuilder forConnectParam
-
Constructor Summary
Constructors Modifier Constructor Description protectedConnectParam(ConnectParam.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthorization()StringgetCaPemPath()StringgetClientKeyPath()StringgetClientPemPath()ThreadLocal<String>getClientRequestId()longgetConnectTimeoutMs()StringgetDatabaseName()StringgetHost()longgetIdleTimeoutMs()longgetKeepAliveTimeMs()longgetKeepAliveTimeoutMs()intgetPort()StringgetProxyAddress()longgetRpcDeadlineMs()StringgetServerName()StringgetServerPemPath()StringgetToken()StringgetUri()StringgetUserName()booleanisKeepAliveWithoutCalls()booleanisSecure()static ConnectParam.BuildernewBuilder()StringtoString()
-
-
-
Constructor Detail
-
ConnectParam
protected ConnectParam(ConnectParam.Builder builder)
-
-
Method Detail
-
newBuilder
public static ConnectParam.Builder newBuilder()
-
getHost
public String getHost()
-
getPort
public int getPort()
-
getDatabaseName
public String getDatabaseName()
-
getUri
public String getUri()
-
getToken
public String getToken()
-
getConnectTimeoutMs
public long getConnectTimeoutMs()
-
getKeepAliveTimeMs
public long getKeepAliveTimeMs()
-
getKeepAliveTimeoutMs
public long getKeepAliveTimeoutMs()
-
isKeepAliveWithoutCalls
public boolean isKeepAliveWithoutCalls()
-
getRpcDeadlineMs
public long getRpcDeadlineMs()
-
isSecure
public boolean isSecure()
-
getIdleTimeoutMs
public long getIdleTimeoutMs()
-
getAuthorization
public String getAuthorization()
-
getClientKeyPath
public String getClientKeyPath()
-
getClientPemPath
public String getClientPemPath()
-
getCaPemPath
public String getCaPemPath()
-
getServerPemPath
public String getServerPemPath()
-
getServerName
public String getServerName()
-
getUserName
public String getUserName()
-
getClientRequestId
public ThreadLocal<String> getClientRequestId()
-
getProxyAddress
public String getProxyAddress()
-
-