Package io.objectbox
Class InternalAccess
- java.lang.Object
-
- io.objectbox.InternalAccess
-
@Internal public class InternalAccess extends java.lang.Object
Exposes internal APIs to tests and code in other packages.
-
-
Constructor Summary
Constructors Constructor Description InternalAccess()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BoxStoreBuilder
clone(BoxStoreBuilder original, java.lang.String namePostfix)
static <T> void
commitWriter(Box<T> box, io.objectbox.Cursor<T> writer)
static void
enableCreationStackTracking()
Makes creation more expensive, but lets Finalizers show the creation stack for dangling resources.static io.objectbox.Transaction
getActiveTx(BoxStore boxStore)
static <T> io.objectbox.Cursor<T>
getActiveTxCursor(Box<T> box)
static <T> long
getActiveTxCursorHandle(Box<T> box)
static long
getHandle(io.objectbox.Transaction tx)
static <T> io.objectbox.Cursor<T>
getWriter(Box<T> box)
static void
setSyncClient(BoxStore boxStore, SyncClient syncClient)
-
-
-
Method Detail
-
getHandle
@Internal public static long getHandle(io.objectbox.Transaction tx)
-
setSyncClient
@Internal public static void setSyncClient(BoxStore boxStore, @Nullable SyncClient syncClient)
-
commitWriter
@Internal public static <T> void commitWriter(Box<T> box, io.objectbox.Cursor<T> writer)
-
enableCreationStackTracking
@Internal public static void enableCreationStackTracking()
Makes creation more expensive, but lets Finalizers show the creation stack for dangling resources.Currently used by integration tests.
-
clone
@Internal public static BoxStoreBuilder clone(BoxStoreBuilder original, java.lang.String namePostfix)
-
-