Returns whether or not it's OK to buffer this RPC on the client side.
()
| 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+. |