Class IllegalContinuationAccessChecker


  • @API(EXPERIMENTAL)
    public class IllegalContinuationAccessChecker
    extends Object
    Check that RecordCursor.getContinuation() is only called when allowed. getContinuation is only legal after hasNext has returned false or after next. The check can be enabled / disabled globally.
    • Method Detail

      • check

        public static void check​(boolean mayGetContinuation)
      • setShouldCheckContinuationAccess

        public static void setShouldCheckContinuationAccess​(boolean shouldCheckContinuationAccess)
      • getShouldCheckContinuationAccess

        public static boolean getShouldCheckContinuationAccess()