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

Method canBuffer

src/BatchableRpc.java:145–149  ·  view source on GitHub ↗

Returns whether or not it's OK to buffer this RPC on the client side.

()

Source from the content-addressed store, hash-verified

143
144 /** Returns whether or not it's OK to buffer this RPC on the client side. */
145 final boolean canBuffer() {
146 // Don't buffer edits that have a row-lock, we want those to
147 // complete ASAP so as to not hold the lock for too long.
148 return lockid == RowLock.NO_LOCK && bufferable;
149 }
150
151 /**
152 * Transforms this edit into a MutationProto for HBase 0.95+.

Callers 1

sendRpcMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected