Interface Creator<K,​V,​C>


  • public interface Creator<K,​V,​C>
    Creates a value in the cache.
    Author:
    Paul Ferraro
    • Method Detail

      • createValue

        V createValue​(K id,
                      C context)
        Creates a value in the cache, if it does not already exist.
        Parameters:
        id - the cache entry identifier.
        Returns:
        the new value, or the existing value the cache entry already exists.