- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for createCache (0.05 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCacheFactory.java
* The created cache should be configured according to the current Maven session * and environment settings. * * @return A new RequestCache instance */ RequestCache createCache();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 1.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/package-info.java
* <li>REQUEST_SCOPED - Data retained only for the current build request</li> * <li>DISABLED - No caching performed</li> * </ul> * <p> * Example usage: * <pre> * RequestCache cache = cacheFactory.createCache(); * Result result = cache.request(myRequest, req -> { * // Expensive operation to compute result * return computedResult; * }); * </pre> * <p>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 2.3K bytes - Viewed (0)