Package io.objectbox

Class InternalAccess

java.lang.Object
io.objectbox.InternalAccess

@Internal public class InternalAccess extends Object
  • Constructor Details

    • InternalAccess

      public InternalAccess()
  • Method Details

    • getActiveTx

      public static io.objectbox.Transaction getActiveTx(BoxStore boxStore)
    • getHandle

      public static long getHandle(io.objectbox.Transaction tx)
    • setSyncClient

      public static void setSyncClient(BoxStore boxStore, @Nullable SyncClient syncClient)
    • getWriter

      public static <T> io.objectbox.Cursor<T> getWriter(Box<T> box)
    • getActiveTxCursor

      public static <T> io.objectbox.Cursor<T> getActiveTxCursor(Box<T> box)
    • getActiveTxCursorHandle

      public static <T> long getActiveTxCursorHandle(Box<T> box)
    • commitWriter

      public static <T> void commitWriter(Box<T> box, io.objectbox.Cursor<T> writer)
    • enableCreationStackTracking

      public static void enableCreationStackTracking()
      Makes creation more expensive, but lets Finalizers show the creation stack for dangling resources.