CallOptionsConfig (Cloud Bigtable HBase Client for Java 0.9.3-SNAPSHOT API)

com.google.cloud.bigtable.config

Class CallOptionsConfig

  • All Implemented Interfaces:
    Serializable


    public class CallOptionsConfig
    extends Object
    implements Serializable
    Experimental options to turn on timeout options. CallOptions supports other settings as well, which this configuration object could help set.
    Version:
    $Id: $Id
    Author:
    sduskis
    See Also:
    Serialized Form
    • Field Detail

      • USE_TIMEOUT_DEFAULT

        public static final boolean USE_TIMEOUT_DEFAULT
        Constant USE_TIMEOUT_DEFAULT=false
        See Also:
        Constant Field Values
      • TIMEOUT_MS_DEFAULT

        public static final int TIMEOUT_MS_DEFAULT
        The default duration to wait before timing out RPCs. 1 minute is probably too long for most RPCs, but the intent is to have a conservative timeout by default and aim for user overrides.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CallOptionsConfig

        public CallOptionsConfig(boolean useTimeout,
                                 int timeoutMs)

        Constructor for CallOptionsConfig.

        Parameters:
        useTimeout - a boolean.
        timeoutMs - a int.


Send feedback about...

Cloud Bigtable Documentation