public static class SpillableMemoryChannel.DrainOrderQueue extends Object
Modifier and Type | Field and Description |
---|---|
ArrayDeque<org.apache.flume.channel.SpillableMemoryChannel.MutableInteger> |
queue |
int |
totalPuts |
Constructor and Description |
---|
DrainOrderQueue() |
Modifier and Type | Method and Description |
---|---|
String |
dump() |
int |
front() |
boolean |
isEmpty() |
void |
putFirstOverflow(Integer eventCount) |
void |
putFirstPrimary(Integer eventCount) |
void |
putOverflow(Integer eventCount) |
void |
putPrimary(Integer eventCount) |
void |
takeOverflow(int takeCount) |
void |
takePrimary(int takeCount) |
public ArrayDeque<org.apache.flume.channel.SpillableMemoryChannel.MutableInteger> queue
public int totalPuts
public String dump()
public void putPrimary(Integer eventCount)
public void putFirstPrimary(Integer eventCount)
public void putOverflow(Integer eventCount)
public void putFirstOverflow(Integer eventCount)
public int front()
public boolean isEmpty()
public void takePrimary(int takeCount)
public void takeOverflow(int takeCount)
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.