xxl.io
Class LRUBuffer

java.lang.Object
  |
  +--xxl.io.Buffer
        |
        +--xxl.io.LRUBuffer

public class LRUBuffer
extends Buffer


Inner Class Summary
protected  class LRUBuffer.Slot
           
 
Inner classes inherited from class xxl.io.Buffer
Buffer.Slot
 
Field Summary
protected  LRUBuffer.Slot first
           
protected  LRUBuffer.Slot last
           
 
Fields inherited from class xxl.io.Buffer
fixedSlots, owners, size, slots
 
Constructor Summary
LRUBuffer(int capacity)
           
 
Method Summary
protected  Buffer.Slot newSlot(int index)
           
protected  Buffer.Slot victim()
           
 
Methods inherited from class xxl.io.Buffer
contains, fix, flush, flushAll, get, isFixed, lookUp, remove, removeAll, size, unfix, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

first

protected LRUBuffer.Slot first

last

protected LRUBuffer.Slot last
Constructor Detail

LRUBuffer

public LRUBuffer(int capacity)
Method Detail

newSlot

protected Buffer.Slot newSlot(int index)
Overrides:
newSlot in class Buffer

victim

protected Buffer.Slot victim()
Overrides:
victim in class Buffer