Uses of Class
io.objectbox.Transaction
Packages that use Transaction
Package
Description
ObjectBox is an an easy to use, object-oriented lightweight database and a full alternative to SQLite.
-
Uses of Transaction in io.objectbox
Fields in io.objectbox declared as TransactionFields in io.objectbox with type parameters of type TransactionModifier and TypeFieldDescription(package private) final ThreadLocal<Transaction> BoxStore.activeTxSet when running inside TXprivate final Set<Transaction> BoxStore.transactionsMethods in io.objectbox that return TransactionModifier and TypeMethodDescriptionBoxStore.beginReadTx()Internal, low level method: useBoxStore.runInReadTx(Runnable)instead.BoxStore.beginTx()Internal, low level method: useBoxStore.runInTx(Runnable)instead.static TransactionInternalAccess.getActiveTx(BoxStore boxStore) Cursor.getTx()Methods in io.objectbox with parameters of type TransactionModifier and TypeMethodDescriptionstatic longInternalAccess.getHandle(Transaction tx) (package private) voidBox.readTxFinished(Transaction tx) Called byBoxStore.callInReadTx(Callable)- does not throw so caller does not need try/finally.(package private) voidBox.txCommitted(Transaction tx) (package private) voidBoxStore.txCommitted(Transaction tx, int[] entityTypeIdsAffected) voidBoxStore.unregisterTransaction(Transaction transaction) Constructors in io.objectbox with parameters of type TransactionModifierConstructorDescriptionprotectedCursor(Transaction tx, long cursor, EntityInfo<T> entityInfo, BoxStore boxStore) -
Uses of Transaction in io.objectbox.internal
Fields in io.objectbox.internal declared as TransactionMethods in io.objectbox.internal with parameters of type TransactionModifier and TypeMethodDescriptionstatic DebugCursorDebugCursor.create(Transaction tx) CursorFactory.createCursor(Transaction tx, long cursorHandle, BoxStore boxStore) Constructors in io.objectbox.internal with parameters of type Transaction