|
eXo Kernel :: Component :: Cache Service 2.4.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Queue<I extends Item>
The queue needed by the concurrent FIFO cache.
| Method Summary | |
|---|---|
void |
add(I item)
Add the item to the head of the list. |
boolean |
remove(I item)
Attempt to remove an item from the queue. |
int |
size()
Returns the queue size |
ArrayList<I> |
trim(int size)
Attempt to trim the queue. |
| Method Detail |
|---|
int size()
boolean remove(I item)
item - the item to remove
void add(I item)
item - the item to addArrayList<I> trim(int size)
size - the wanted size
|
eXo Kernel :: Component :: Cache Service 2.4.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||