Interface Creator<K,V,C>


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

    Modifier and Type
    Method
    Description
    createValue(K id, C context)
    Creates a value in the cache, if it does not already exist.
  • Method Details

    • 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.