CallOptionsConfig.Builder (Cloud Bigtable HBase Client for Java 1.10.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
      • setLongRpcTimeoutMs

        public CallOptionsConfig.Builder setLongRpcTimeoutMs(int longRpcTimeoutMs)
        The amount of milliseconds to wait before issuing a client side timeout for long RPCs.
        Parameters:
        longRpcTimeoutMs - timeout value in milliseconds.
        Returns:
        a CallOptionsConfig.Builder object, for chaining


Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Bigtable Documentation