de.bea.domingo.proxy
Class NoRecycleStrategy

java.lang.Object
  extended by de.bea.domingo.monitor.AbstractMonitorEnabled
      extended by de.bea.domingo.proxy.NoRecycleStrategy
All Implemented Interfaces:
MonitorEnabled, NotesRecycler

public class NoRecycleStrategy
extends AbstractMonitorEnabled
implements NotesRecycler

Implementation of interface NotesRecycler that does no recycling of any Notes objects.

This strategy should be used with Lotus Notes R6 while no explicit recycle is needed.

Author:
Kurt Riede

Constructor Summary
NoRecycleStrategy(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

NoRecycleStrategy

public NoRecycleStrategy(DNotesMonitor monitor)
Constructor.

Parameters:
monitor - the monitor
Method Detail

recycle

public void recycle(java.lang.Object object)
Immediately recycles a Notes object.

Specified by:
recycle in interface NotesRecycler
Parameters:
object - the Notes object to be recycled
See Also:
NotesRecycler.recycle(java.lang.Object)

recycleLater

public void recycleLater(java.lang.Object object)
Enqueues a Notes object into a recycle queue for later recycling.

Specified by:
recycleLater in interface NotesRecycler
Parameters:
object - the Notes object to be recycled later
See Also:
NotesRecycler.recycleLater(java.lang.Object)

recycleQueue

public void recycleQueue()
Description copied from interface: NotesRecycler
Immediately recycles all enqueued objects.

Specified by:
recycleQueue in interface NotesRecycler
See Also:
NotesRecycler.recycleQueue()


Domingo Java-API