public class NoRecycleStrategy extends AbstractMonitorEnabled implements NotesRecycler
NotesRecycler that does no recycling
of any Notes objects.
This strategy should be used with Lotus Notes R6 while no explicit recycle is needed.
| Constructor and Description |
|---|
NoRecycleStrategy(DNotesMonitor monitor)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
recycle(Object object)
Immediately recycles a Notes object.
|
void |
recycleLater(Object object)
Enqueues a Notes object into a recycle queue for later recycling.
|
void |
recycleQueue()
Immediately recycles all enqueued objects.
|
getMonitor, setMonitorpublic NoRecycleStrategy(DNotesMonitor monitor)
monitor - the monitorpublic void recycle(Object object)
recycle in interface NotesRecyclerobject - the Notes object to be recycledNotesRecycler.recycle(java.lang.Object)public void recycleLater(Object object)
recycleLater in interface NotesRecyclerobject - the Notes object to be recycled laterNotesRecycler.recycleLater(java.lang.Object)public void recycleQueue()
NotesRecyclerrecycleQueue in interface NotesRecyclerNotesRecycler.recycleQueue()Copyright © 2005–2020. All rights reserved.