org.neodatis.odb.core.server.connection
Interface IConnection
-
- All Known Implementing Classes:
- DefaultServerConnection
public interface IConnection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidclose()voidcommit()voidendCurrentAction()java.lang.StringgetDescription()java.lang.StringgetId()IStorageEnginegetStorageEngine()booleanlockClass(java.lang.String fullClassName)booleanlockObjectWithOid(OID oid)voidrollback()voidsetCurrentAction(int action)voidunlockClass(java.lang.String fullClassName)voidunlockObjectWithOid(OID oid)
-
-
-
Method Detail
-
getId
java.lang.String getId()
-
getStorageEngine
IStorageEngine getStorageEngine()
-
close
void close() throws java.lang.Exception- Throws:
java.lang.Exception
-
commit
void commit() throws java.lang.Exception- Throws:
java.lang.Exception
-
unlockObjectWithOid
void unlockObjectWithOid(OID oid) throws java.lang.Exception
- Throws:
java.lang.Exception
-
rollback
void rollback() throws java.lang.Exception- Throws:
java.lang.Exception
-
lockObjectWithOid
boolean lockObjectWithOid(OID oid) throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
lockClass
boolean lockClass(java.lang.String fullClassName) throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
unlockClass
void unlockClass(java.lang.String fullClassName) throws java.lang.Exception- Throws:
java.lang.Exception
-
setCurrentAction
void setCurrentAction(int action)
-
endCurrentAction
void endCurrentAction()
-
getDescription
java.lang.String getDescription()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG