Class FailableCache<K,​V>

org.elasticsearch.common.inject.internal.FailableCache<K,​V>

public abstract class FailableCache<K,​V> extends
Lazily creates (and caches) values for keys. If creating the value fails (with errors), an exception is thrown on retrieval.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract V
    create​(K key, Errors errors)
     
    get​(K key, Errors errors)
     

    Methods inherited from class java.lang.

    , , , , , , , , , ,