krati.core.array.entry
Class EntryPool<T extends EntryValue>
java.lang.Object
krati.core.array.entry.EntryPool<T>
public class EntryPool<T extends EntryValue>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntryPool
public EntryPool(EntryFactory<T> factory,
int entryCapacity)
getEntryCapacity
public final int getEntryCapacity()
getEntryFactory
public final EntryFactory<T> getEntryFactory()
isServiceQueueEmpty
public boolean isServiceQueueEmpty()
isRecycleQueueEmpty
public boolean isRecycleQueueEmpty()
pollFromService
public Entry<T> pollFromService()
getServiceQueueSize
public int getServiceQueueSize()
getReycleQueueSize
public int getReycleQueueSize()
addToServiceQueue
public boolean addToServiceQueue(Entry<T> entry)
addToRecycleQueue
public boolean addToRecycleQueue(Entry<T> entry)
next
public Entry<T> next()
clear
public void clear()
Copyright © 2011. All Rights Reserved.