org.omegahat.Environment.TaskManagement
Interface ServerPool
- All Known Subinterfaces:
- NamedServerPool
- All Known Implementing Classes:
- BasicServerPool
- public interface ServerPool
This is an interface describing the operations used currently in the
task management pertaining to the pool of servers. Basically, they are
the methods available from util.Vector. When we make
the committment to move to Java2, we can use the collections framework
and the interfaces there rather than having this mirror of those
interfaces, specifically Collection, although this seems
excessive!
size
public int size()
addElement
public void addElement(java.lang.Object o)
elementAt
public java.lang.Object elementAt(int which)
remove
public boolean remove(java.lang.Object o)
removeElement
public boolean removeElement(java.lang.Object o)
clear
public void clear()