org.neodatis.odb.core.server.connection
Interface IConnection

All Known Implementing Classes:
DefaultServerConnection

public interface IConnection

Author:
olivier

Method Summary
 void close()
           
 void commit()
           
 void endCurrentAction()
           
 java.lang.String getDescription()
           
 java.lang.String getId()
           
 IStorageEngine getStorageEngine()
           
 boolean lockClass(java.lang.String fullClassName)
           
 boolean lockObjectWithOid(OID oid)
           
 void rollback()
           
 void setCurrentAction(int action)
           
 void unlockClass(java.lang.String fullClassName)
           
 void unlockObjectWithOid(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()