|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.astyanax.util.BlockingAckingQueue
public class BlockingAckingQueue
| Constructor Summary | |
|---|---|
BlockingAckingQueue()
|
|
| Method Summary | |
|---|---|
void |
ackMutation(MutationBatch m)
Ack a mutation so that it may be removed from the queue |
MutationBatch |
getNextMutation(long timeout,
java.util.concurrent.TimeUnit unit)
Get the next item from the queue |
void |
pushMutation(MutationBatch m)
Insert an item into the queue |
void |
repushMutation(MutationBatch m)
Return a mutation that couldn't be retried for it be requeued and retryed later |
int |
size()
Return the number of mutations in the queue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlockingAckingQueue()
| Method Detail |
|---|
public MutationBatch getNextMutation(long timeout,
java.util.concurrent.TimeUnit unit)
throws java.lang.InterruptedException
AckingQueue
getNextMutation in interface AckingQueuejava.lang.InterruptedException
public void pushMutation(MutationBatch m)
throws java.lang.Exception
AckingQueue
pushMutation in interface AckingQueuejava.lang.Exception
public void ackMutation(MutationBatch m)
throws java.lang.Exception
AckingQueue
ackMutation in interface AckingQueuejava.lang.Exception
public void repushMutation(MutationBatch m)
throws java.lang.Exception
AckingQueue
repushMutation in interface AckingQueuejava.lang.Exceptionpublic int size()
AckingQueue
size in interface AckingQueue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||