Class FailableCache<K,V>
java.lang.Object
org.elasticsearch.common.inject.internal.FailableCache<K,V>
Lazily creates (and caches) values for keys. If creating the value fails (with errors), an
exception is thrown on retrieval.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FailableCache
public FailableCache()
-
-
Method Details
-
create
- Throws:
ErrorsException
-
get
- Throws:
ErrorsException
-