Class CachingSupplier<REQ,REP>

java.lang.Object
org.apache.maven.impl.cache.CachingSupplier<REQ,REP>
Type Parameters:
REQ - The request type
REP - The response type
All Implemented Interfaces:
Function<REQ,REP>

public class CachingSupplier<REQ,REP> extends Object implements 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.
  • Field Details

  • Constructor Details

    • CachingSupplier

      public CachingSupplier(Function<REQ,REP> supplier)
  • Method Details