eXo Kernel :: Component :: Cache Service 2.4.12-UXP01
-
-
Method Summary
Methods
| Modifier and Type |
Method and Description |
void |
add(I item)
Add the item to the head of the list.
|
void |
assertConsistency() |
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.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
size
public int size()
Description copied from interface: Queue
Returns the queue size
- Specified by:
size in interface Queue<I extends Item>
- Returns:
- the size
eXo Kernel :: Component :: Cache Service 2.4.12-UXP01
Copyright © 2015 eXo Platform SAS. All Rights Reserved.