BatchWriterConfig function ( long arg0 , TimeUnit arg1 ) { if ( arg0 < 0 ) throw new IllegalArgumentException ( "srini_string" + arg0 ) ; if ( arg0 == 0 ) this . timeout = Long . MAX_VALUE ; else this . timeout = Math . max ( 1 , arg1 . toMillis ( arg0 ) ) ; return this ; }
sets the maximum amount of time an unresponsive server will be re-tried . when this timeout is exceeded , the batchwriter should throw an exception.for no timeout , set to zero , or long #max_value with timeunit #milliseconds . timeunit #microseconds or timeunit #nanoseconds will be truncated to the nearest timeunit #milliseconds . if this truncation would result in making the value zero when it was specified as non-zero , then a minimum value of one timeunit #milliseconds willbe used . default : long #max_value no timeout concode_field_sep Durability durability concode_elem_sep Integer DEFAULT_MAX_WRITE_THREADS concode_elem_sep Long DEFAULT_TIMEOUT concode_elem_sep Long maxLatency concode_elem_sep Integer maxWriteThreads concode_elem_sep Long maxMemory concode_elem_sep Long timeout concode_elem_sep Long DEFAULT_MAX_MEMORY concode_elem_sep Long DEFAULT_MAX_LATENCY concode_field_sep long getMaxLatency concode_elem_sep void addField concode_elem_sep BatchWriterConfig setMaxMemory concode_elem_sep BatchWriterConfig setMaxLatency concode_elem_sep BatchWriterConfig setMaxWriteThreads concode_elem_sep Durability getDurability concode_elem_sep void readFields concode_elem_sep int getMaxWriteThreads concode_elem_sep int hashCode concode_elem_sep long getTimeout concode_elem_sep boolean equals concode_elem_sep BatchWriterConfig setDurability concode_elem_sep long getMaxMemory concode_elem_sep String toString concode_elem_sep void write