MCPcopy Index your code
hub / github.com/OpenTSDB/asynchbase / atomicGetAndRemoveWaiters

Method atomicGetAndRemoveWaiters

src/HBaseClient.java:4198–4206  ·  view source on GitHub ↗

Atomically returns and nulls out the current list of Deferreds waiting for the -ROOT- region.

()

Source from the content-addressed store, hash-verified

4196 * Deferreds waiting for the -ROOT- region.
4197 */
4198 private ArrayList<Deferred<Object>> atomicGetAndRemoveWaiters() {
4199 synchronized (this) {
4200 try {
4201 return deferred_rootregion;
4202 } finally {
4203 deferred_rootregion = null;
4204 }
4205 }
4206 }
4207
4208 /**
4209 * Processes a ZooKeeper event.

Callers 1

processResultMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected