Interface AbstractRepository.Calculator

  • Enclosing class:
    AbstractRepository

    public static interface AbstractRepository.Calculator
    Calculator used in to calculate derived values. Only specific values are supported.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.concurrent.atomic.AtomicReference getValue​(java.lang.Object arg)
      Calculate value from given arg.
    • Method Detail

      • getValue

        @CheckForNull
        java.util.concurrent.atomic.AtomicReference getValue​(java.lang.Object arg)
        Calculate value from given arg.
        Returns:
        null if calculator can not provide value (default calculation is used).