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

com.google.cloud.bigtable.config

Class CallOptionsConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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 -
        Returns:
        this 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 -
        Returns:
        this 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 -
        Returns:
        this 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 -
        Returns:
        this for chaining


Send feedback about...

Cloud Bigtable Documentation