Package io.milvus.client
Class ConnectParam
- java.lang.Object
-
- io.milvus.client.ConnectParam
-
public class ConnectParam extends java.lang.Object
Contains parameters for connecting to Milvus server
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConnectParam.Builder
Builder forConnectParam
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getConnectTimeout(java.util.concurrent.TimeUnit timeUnit)
java.lang.String
getHost()
long
getIdleTimeout(java.util.concurrent.TimeUnit timeUnit)
long
getKeepAliveTime(java.util.concurrent.TimeUnit timeUnit)
long
getKeepAliveTimeout(java.util.concurrent.TimeUnit timeUnit)
int
getPort()
boolean
isKeepAliveWithoutCalls()
-
-
-
Method Detail
-
getHost
public java.lang.String getHost()
-
getPort
public int getPort()
-
getConnectTimeout
public long getConnectTimeout(@Nonnull java.util.concurrent.TimeUnit timeUnit)
-
getKeepAliveTime
public long getKeepAliveTime(@Nonnull java.util.concurrent.TimeUnit timeUnit)
-
getKeepAliveTimeout
public long getKeepAliveTimeout(@Nonnull java.util.concurrent.TimeUnit timeUnit)
-
isKeepAliveWithoutCalls
public boolean isKeepAliveWithoutCalls()
-
getIdleTimeout
public long getIdleTimeout(@Nonnull java.util.concurrent.TimeUnit timeUnit)
-
-