Interface Manager<K,​V>

    • Method Detail

      • apply

        V apply​(K key,
                Function<Runnable,​V> factory)
        Returns the value associated with the specified key, creating it from the specified factory, if necessary.
        Specified by:
        apply in interface BiFunction<K,​Function<Runnable,​V>,​V>
        Parameters:
        key - the key of the managed value
        factory - a factory for creating the value from a close task
        Returns:
        a managed value