Class CachedValue<T>

    • Constructor Detail

      • CachedValue

        public CachedValue​(Value<? extends T> value)
        Deprecated.
        Construct a new instance.
        Parameters:
        value - the value from which this value is calculated
    • Method Detail

      • getValue

        public T getValue()
                   throws IllegalStateException
        Deprecated.
        Get the actual dependency value.
        Specified by:
        getValue in interface Value<T>
        Returns:
        the actual dependency value
        Throws:
        IllegalStateException - if the value is time-sensitive and the current state does not allow retrieval.