Package io.objectbox
Class InternalAccess
java.lang.Object
io.objectbox.InternalAccess
Exposes internal APIs to tests and code in other packages.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BoxStoreBuilderclone(BoxStoreBuilder original, String namePostfix) static <T> voidcommitWriter(Box<T> box, Cursor<T> writer) static voidMakes creation more expensive, but lets Finalizers show the creation stack for dangling resources.static TransactiongetActiveTx(BoxStore boxStore) static <T> Cursor<T> getActiveTxCursor(Box<T> box) static <T> longgetActiveTxCursorHandle(Box<T> box) static longgetHandle(Transaction tx) static <T> Cursor<T> static voidsetSyncClient(BoxStore boxStore, SyncClient syncClient)
-
Constructor Details
-
InternalAccess
public InternalAccess()
-
-
Method Details
-
getActiveTx
-
getHandle
-
setSyncClient
-
getWriter
-
getActiveTxCursor
-
getActiveTxCursorHandle
-
commitWriter
-
enableCreationStackTracking
Makes creation more expensive, but lets Finalizers show the creation stack for dangling resources.Currently used by integration tests.
-
clone
-