Class ConnectParam


  • public class ConnectParam
    extends java.lang.Object
    Contains parameters for connecting to Milvus server
    • 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)