MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / setTimeout

Method setTimeout

src/HBaseRpc.java:547–552  ·  view source on GitHub ↗

A timeout, in milliseconds, to set for this RPC. If the RPC cannot be sent and processed by HBase within this period then a RpcTimedOutException will be returned in the deferred. If no timeout is set, then "hbase.rpc.timeout" will be used by default. However if a value of "0" is supplied

(final int timeout)

Source from the content-addressed store, hash-verified

545 * @since 1.7
546 */
547 public void setTimeout(final int timeout) {
548 if (timeout < 0) {
549 throw new IllegalArgumentException("The timeout cannot be negative");
550 }
551 this.timeout = timeout;
552 }
553
554 /** An optional timeout for the RPC in milliseconds.
555 * Note that the initial value is -1, meaning the RPC will use the default

Calls

no outgoing calls