org.jacorb.orb.giop
Interface SelectionStrategy
- All Known Implementing Classes:
- LFUSelectionStrategyImpl, LRUSelectionStrategyImpl
- public interface SelectionStrategy
This class is used to select a connection for closing. The connection
should be idle (although this is checked again later when
closing). The given list of connections is synchronized, so no
additional synchronization is necessary.
- Version:
- $Id: SelectionStrategy.java,v 1.5 2003/08/15 11:04:40 andre.spiegel Exp $
- Author:
- Nicolas Noffke
selectForClose
public ServerGIOPConnection selectForClose(java.util.List connections)
- Select a connection for closing. If none is idle, null should be
returned.