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
Fields Modifier and Type Field and Description static java.lang.StringLOG_ID
-
Constructor Summary
Constructors Constructor and Description ConnectionManager(IStorageEngine engine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description IConnectiongetConnection(java.lang.String connectionId)java.lang.StringgetConnectionDescriptions()intgetNbConnections()IStorageEnginegetStorageEngine()voidlockClassForConnection(java.lang.String fullClassName, IConnection connection)voidlockOidForConnection(OID oid, IConnection connection)IConnectionnewConnection(java.lang.String ip, long dateTime, int sequence)voidremoveConnection(IConnection connection)voidunlockClass(java.lang.String fullClassName, IConnection connection)voidunlockOidForConnection(OID oid, IConnection connection)
-
-
-
Field Detail
-
LOG_ID
public static final java.lang.String LOG_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConnectionManager
public ConnectionManager(IStorageEngine engine)
-
-
Method Detail
-
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
-
-
DataMelt 3.0 © DataMelt by jWork.ORG