2323
2424@ Internal
2525public class InternalAccess {
26- public static <T > Cursor <T > getReader (Box <T > box ) {
27- return box .getReader ();
28- }
2926
3027 public static long getHandle (BoxStore boxStore ) {
3128 return boxStore .internalHandle ();
@@ -40,10 +37,6 @@ public static Transaction getActiveTx(BoxStore boxStore) {
4037 return tx ;
4138 }
4239
43- public static long getHandle (Cursor reader ) {
44- return reader .internalHandle ();
45- }
46-
4740 public static long getHandle (Transaction tx ) {
4841 return tx .internalHandle ();
4942 }
@@ -52,10 +45,6 @@ public static void setSyncClient(BoxStore boxStore, @Nullable SyncClient syncCli
5245 boxStore .setSyncClient (syncClient );
5346 }
5447
55- public static <T > void releaseReader (Box <T > box , Cursor <T > reader ) {
56- box .releaseReader (reader );
57- }
58-
5948 public static <T > Cursor <T > getWriter (Box <T > box ) {
6049 return box .getWriter ();
6150 }
@@ -68,10 +57,6 @@ public static <T> long getActiveTxCursorHandle(Box<T> box) {
6857 return box .getActiveTxCursor ().internalHandle ();
6958 }
7059
71- public static <T > void releaseWriter (Box <T > box , Cursor <T > writer ) {
72- box .releaseWriter (writer );
73- }
74-
7560 public static <T > void commitWriter (Box <T > box , Cursor <T > writer ) {
7661 box .commitWriter (writer );
7762 }
0 commit comments