Class InMemoryRepositoryTransaction
java.lang.Object
tech.ydb.yoj.repository.test.inmemory.InMemoryRepositoryTransaction
- All Implemented Interfaces:
BaseDb,TransactionLocal.Holder,RepositoryTransaction
public class InMemoryRepositoryTransaction
extends Object
implements BaseDb, RepositoryTransaction, TransactionLocal.Holder
-
Constructor Summary
ConstructorsConstructorDescriptionInMemoryRepositoryTransaction(TxOptions options, InMemoryRepository repository) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tech.ydb.yoj.repository.db.RepositoryTransaction
getOptions, getTransactionLocalMethods inherited from interface tech.ydb.yoj.repository.db.cache.TransactionLocal.Holder
getTransactionLocal
-
Constructor Details
-
InMemoryRepositoryTransaction
-
-
Method Details
-
table
- Specified by:
tablein interfaceBaseDb- Specified by:
tablein interfaceRepositoryTransaction
-
table
- Specified by:
tablein interfaceBaseDb- Specified by:
tablein interfaceRepositoryTransaction
-
getMemory
Deprecated. -
commit
public void commit()- Specified by:
commitin interfaceRepositoryTransaction
-
rollback
public void rollback()- Specified by:
rollbackin interfaceRepositoryTransaction
-