org.dbe.eve.net
Class ConnectionPoolImpl

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by org.dbe.eve.net.ConnectionPoolImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map, ConnectionPool

public class ConnectionPoolImpl
extends java.util.HashMap
implements ConnectionPool

Author:
cmasuch
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
ConnectionPoolImpl()
           
 
Method Summary
 java.lang.Object getNode(java.lang.Object id)
          Same method as Map.get (Object), but specifically to ConnectionPool, so people that don't know what this Interface returns can use it.
 void persist(java.io.File file)
           
static ConnectionPool unPersist(java.io.File file)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

ConnectionPoolImpl

public ConnectionPoolImpl()
Method Detail

getNode

public java.lang.Object getNode(java.lang.Object id)
Description copied from interface: ConnectionPool
Same method as Map.get (Object), but specifically to ConnectionPool, so people that don't know what this Interface returns can use it.

Specified by:
getNode in interface ConnectionPool
Parameters:
id - ServiceId
Returns:
Connection

persist

public void persist(java.io.File file)
             throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

unPersist

public static final ConnectionPool unPersist(java.io.File file)
                                      throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException