Package org.apache.maven.impl.cache
Class CachingSupplier<REQ,REP>
java.lang.Object
org.apache.maven.impl.cache.CachingSupplier<REQ,REP>
- Type Parameters:
REQ
- The request typeREP
- The response type
- All Implemented Interfaces:
Function<REQ,
REP>
A caching supplier wrapper that caches results and exceptions from the underlying supplier.
Used internally to cache expensive computations in the session.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Special holder class for exceptions that occur during supplier execution. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary