org.neodatis.odb.core.server.connection
Class ConnectionManager
java.lang.Object
org.neodatis.odb.core.server.connection.ConnectionManager
public class ConnectionManager
- extends java.lang.Object
Field Summary |
static java.lang.String |
LOG_ID
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG_ID
public static final java.lang.String LOG_ID
- See Also:
- Constant Field Values
ConnectionManager
public ConnectionManager(IStorageEngine engine)
newConnection
public IConnection newConnection(java.lang.String ip,
long dateTime,
int sequence)
getConnection
public IConnection getConnection(java.lang.String connectionId)
removeConnection
public void removeConnection(IConnection connection)
getStorageEngine
public IStorageEngine getStorageEngine()
getNbConnections
public int getNbConnections()
getConnectionDescriptions
public java.lang.String getConnectionDescriptions()
lockOidForConnection
public void lockOidForConnection(OID oid,
IConnection connection)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
lockClassForConnection
public void lockClassForConnection(java.lang.String fullClassName,
IConnection connection)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
unlockOidForConnection
public void unlockOidForConnection(OID oid,
IConnection connection)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
unlockClass
public void unlockClass(java.lang.String fullClassName,
IConnection connection)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException