|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.bea.domingo.proxy.NotesRecycleQueue
public final class NotesRecycleQueue
Queue of Notes objects to be recycled.
Notes objects are queued with a priority defined by their class in this decreasing order:
Session
, Database
, View
,
Collection
, Document
, Entry
,
Item
, others
Constructor Summary | |
---|---|
NotesRecycleQueue()
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
dequeue()
Dequeues an object from the queue. |
void |
enqueue(java.lang.Object obj)
Enqueues an object to the queue. |
boolean |
isEmpty()
Checks is the queue is empty or not. |
int |
size()
Returns the number of objects in the queue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotesRecycleQueue()
Method Detail |
---|
public int size()
size
in interface Queue
public boolean isEmpty()
isEmpty
in interface Queue
true
if the queue is empty, else false
public void enqueue(java.lang.Object obj)
enqueue
in interface Queue
obj
- the object to enqueuepublic java.lang.Object dequeue()
dequeue
in interface Queue
null
if the queue is empty
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |