org.neodatis.odb.impl.core.transaction
Class ClientSession
- java.lang.Object
-
- org.neodatis.odb.impl.core.transaction.Session
-
- org.neodatis.odb.impl.core.transaction.ClientSession
-
-
Constructor Summary
Constructors Constructor and Description ClientSession(IStorageEngine engine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ICachebuildCache()ITmpCachebuildTmpCache()voidclear()voidclearCache()voidclose()voidcommit()ICachegetCache()IStorageEnginegetStorageEngine()ITransactiongetTransaction()booleanisRollbacked()voidrollback()voidsetFileSystemInterfaceToApplyTransaction(IFileSystemInterface fsi)booleantransactionIsPending()voidupdate(java.util.Observable o, java.lang.Object arg)-
Methods inherited from class org.neodatis.odb.impl.core.transaction.Session
addObjectToCache, compareTo, equals, getBaseIdentification, getId, getMetaModel, getTmpCache, hasBeenCommitted, removeObjectFromCache, setBaseIdentification, setHasBeenCommitted, setId, setMetaModel, toString
-
-
-
-
Constructor Detail
-
ClientSession
public ClientSession(IStorageEngine engine)
-
-
Method Detail
-
getCache
public ICache getCache()
-
commit
public void commit()
-
rollback
public void rollback()
-
close
public void close()
-
clearCache
public void clearCache()
- Specified by:
clearCachein interfaceISession- Overrides:
clearCachein classSession
-
isRollbacked
public boolean isRollbacked()
- Specified by:
isRollbackedin interfaceISession- Overrides:
isRollbackedin classSession
-
clear
public void clear()
-
getStorageEngine
public IStorageEngine getStorageEngine()
- Specified by:
getStorageEnginein interfaceISession- Specified by:
getStorageEnginein classSession
-
transactionIsPending
public boolean transactionIsPending()
- Specified by:
transactionIsPendingin interfaceISession- Specified by:
transactionIsPendingin classSession
-
getTransaction
public ITransaction getTransaction()
- Specified by:
getTransactionin interfaceISession- Specified by:
getTransactionin classSession
-
setFileSystemInterfaceToApplyTransaction
public void setFileSystemInterfaceToApplyTransaction(IFileSystemInterface fsi)
- Specified by:
setFileSystemInterfaceToApplyTransactionin interfaceISession- Specified by:
setFileSystemInterfaceToApplyTransactionin classSession
-
buildCache
public ICache buildCache()
- Specified by:
buildCachein classSession
-
buildTmpCache
public ITmpCache buildTmpCache()
- Specified by:
buildTmpCachein classSession
-
update
public void update(java.util.Observable o, java.lang.Object arg)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG