milvus-logo
Star
0
Forks
0
Get Started

Class MilvusServiceClient

  • All Implemented Interfaces:
    MilvusClient

    public class MilvusServiceClient
    extends AbstractMilvusGrpcClient
    • Constructor Detail

      • MilvusServiceClient

        public MilvusServiceClient​(@NonNull
                                   @NonNull ConnectParam connectParam)
    • Method Detail

      • close

        public void close​(long maxWaitSeconds)
                   throws java.lang.InterruptedException
        Description copied from interface: MilvusClient
        Disconnects from a Milvus server with configurable timeout.
        Parameters:
        maxWaitSeconds - timeout unit: second
        Throws:
        java.lang.InterruptedException
      • withTimeout

        public MilvusClient withTimeout​(long timeout,
                                        java.util.concurrent.TimeUnit timeoutUnit)
        Description copied from interface: MilvusClient
        Timeout setting for rpc call.
        Parameters:
        timeout - set time waiting for a rpc call.
        timeoutUnit - time unit