Class UptodateValue<T>


  • public class UptodateValue<T>
    extends java.lang.Object
    This class operates as a time-based cache for a calculable value.
    Author:
    Pavel.Sher Date: 23.09.2008
    • Method Detail

      • getValue

        public T getValue()
      • fetchValue

        public T fetchValue​(UptodateValue.ValueProvider<T> explicitProvider)
        Parameters:
        explicitProvider - value provider
        Returns:
        cached or updated value; data update occurs using explicitProvider
        Since:
        10.0
      • reset

        public void reset()