Interface Lazy.Checker

All Known Implementing Classes:
Lazy.Checker.Default, LazyReferenceManager.Clearer
Enclosing interface:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

public static interface Lazy.Checker
  • Method Details

    • beginCheckCycle

      default void beginCheckCycle()
    • check

      boolean check​(Lazy<?> lazyReference)
      lazyReference - the lazy reference to check against
      if additional checks should be prevented
    • endCheckCycle

      default void endCheckCycle()
    • isValidTimeout

      static boolean isValidTimeout​(long millisecondTimeout)
    • isValidMemoryQuota

      static boolean isValidMemoryQuota​(double memoryQuota)
    • validateTimeout

      static long validateTimeout​(long millisecondTimeout)
    • validateMemoryQuota

      static double validateMemoryQuota​(double memoryQuota)