org.apache.hadoop.hbase.hbql.util
Class CompletionQueue<T>

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.util.CompletionQueue<T>

public class CompletionQueue<T>
extends Object


Nested Class Summary
static class CompletionQueue.Element<R>
           
 
Constructor Summary
CompletionQueue(int size)
           
 
Method Summary
 int getCompletionCount()
           
 void putCompletionToken()
           
 void putElement(T val)
           
 void reset()
           
 CompletionQueue.Element<T> takeElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompletionQueue

public CompletionQueue(int size)
                throws HBqlException
Throws:
HBqlException
Method Detail

getCompletionCount

public int getCompletionCount()

putCompletionToken

public void putCompletionToken()

putElement

public void putElement(T val)
                throws HBqlException
Throws:
HBqlException

takeElement

public CompletionQueue.Element<T> takeElement()
                                       throws HBqlException
Throws:
HBqlException

reset

public void reset()


Copyright © 2011. All Rights Reserved.