|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.bea.domingo.monitor.AbstractMonitorEnabled de.bea.domingo.proxy.RecycleStrategy
public final class RecycleStrategy
Implementation of interface NotesRecycler
that explicitly
recycles almost all Notes objects.
This strategy should be used with Lotus Notes R5 while missing explicit recycle results in memory leaks.
Constructor Summary | |
---|---|
RecycleStrategy(DNotesMonitor monitor)
Constructor. |
Method Summary | |
---|---|
void |
recycle(java.lang.Object object)
Immediately recycles a Notes object. |
void |
recycleLater(java.lang.Object object)
Enqueues a Notes object into a recycle queue for later recycling. |
void |
recycleQueue()
Immediately recycles all enqueued objects. |
Methods inherited from class de.bea.domingo.monitor.AbstractMonitorEnabled |
---|
getMonitor, setMonitor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecycleStrategy(DNotesMonitor monitor)
monitor
- the monitorMethod Detail |
---|
public void recycleLater(java.lang.Object object)
recycleLater
in interface NotesRecycler
object
- the Notes object to be recycled laterNotesRecycler.recycleLater(java.lang.Object)
public void recycleQueue()
NotesRecycler
recycleQueue
in interface NotesRecycler
NotesRecycler.recycleQueue()
public void recycle(java.lang.Object object)
recycle
in interface NotesRecycler
object
- the Notes object to be recycledNotesRecycler.recycle(java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |