CallOptionsConfig.Builder (Cloud Bigtable HBase Client for Java 1.12.0 API)

com.google.cloud.bigtable.config

Class CallOptionsConfig.Builder

    • Constructor Detail

    • Method Detail

      • setUseTimeout

        public CallOptionsConfig.Builder setUseTimeout(boolean useTimeout)
        If true, turn on timeouts for unary RPCS like mutations, and single row readRows.
        Parameters:
        useTimeout - flag to enable use of timeout.
        Returns:
        a CallOptionsConfig.Builder object, for chaining
      • setTimeoutMs

        @Deprecated
        public CallOptionsConfig.Builder setTimeoutMs(int timeoutMs)
        Deprecated. 
        The amount of milliseconds to wait before issuing a client side timeout for short RPCs.
        Parameters:
        timeoutMs - timeout value in milliseconds.
        Returns:
        a CallOptionsConfig.Builder object, for chaining
      • setShortRpcTimeoutMs

        public CallOptionsConfig.Builder setShortRpcTimeoutMs(int shortRpcTimeoutMs)
        The amount of milliseconds to wait before issuing a client side timeout for short RPCs.
        Parameters:
        shortRpcTimeoutMs - timeout value in milliseconds.
        Returns:
        a CallOptionsConfig.Builder object, for chaining
      • setMutateRpcTimeoutMs

        public CallOptionsConfig.Builder setMutateRpcTimeoutMs(int mutateRpcTimeoutMs)
        The amount of time in milliseconds to wait before issuing a client side timeout for row mutation RPCs.
        Parameters:
        mutateRpcTimeoutMs - timeout value in milliseconds.
        Returns:
        a CallOptionsConfig.Builder object, for chaining
      • setReadRowsRpcTimeoutMs

        public CallOptionsConfig.Builder setReadRowsRpcTimeoutMs(int readStreamRpcTimeoutMs)
        The amount of time in millisecond to wait before issuing a client side timeout for readRows streaming RPCs.
        Parameters:
        readStreamRpcTimeoutMs - timeout value in milliseconds.
        Returns:
        a CallOptionsConfig.Builder object, for chaining