@Internal
public class InternalAccess
extends java.lang.Object
| Constructor and Description |
|---|
InternalAccess() |
| Modifier and Type | Method and Description |
|---|---|
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 <T> io.objectbox.Cursor<T> |
getActiveTxCursor(Box<T> box) |
static <T> long |
getActiveTxCursorHandle(Box<T> box) |
static long |
getHandle(BoxStore boxStore) |
static long |
getHandle(io.objectbox.Cursor reader) |
static long |
getHandle(io.objectbox.Transaction tx) |
static <T> io.objectbox.Cursor<T> |
getReader(Box<T> box) |
static <T> io.objectbox.Cursor<T> |
getWriter(Box<T> box) |
static <T> void |
releaseReader(Box<T> box,
io.objectbox.Cursor<T> reader) |
static <T> void |
releaseWriter(Box<T> box,
io.objectbox.Cursor<T> writer) |
static void |
setSyncClient(BoxStore boxStore,
SyncClient syncClient) |
public static <T> io.objectbox.Cursor<T> getReader(Box<T> box)
public static long getHandle(BoxStore boxStore)
public static long getHandle(io.objectbox.Cursor reader)
public static long getHandle(io.objectbox.Transaction tx)
public static void setSyncClient(BoxStore boxStore, @Nullable SyncClient syncClient)
public static <T> void releaseReader(Box<T> box, io.objectbox.Cursor<T> reader)
public static <T> io.objectbox.Cursor<T> getWriter(Box<T> box)
public static <T> io.objectbox.Cursor<T> getActiveTxCursor(Box<T> box)
public static <T> long getActiveTxCursorHandle(Box<T> box)
public static <T> void releaseWriter(Box<T> box, io.objectbox.Cursor<T> writer)
public static <T> void commitWriter(Box<T> box, io.objectbox.Cursor<T> writer)
public static void enableCreationStackTracking()