Class CaffeineFeature
java.lang.Object
io.micronaut.cache.caffeine.graal.CaffeineFeature
- All Implemented Interfaces:
org.graalvm.nativeimage.hosted.Feature
@Internal
public class CaffeineFeature
extends Object
implements org.graalvm.nativeimage.hosted.Feature
A native image feature that configures common Caffeine cache implementations for reflection.
It is not a complete list, and users using less common implementations will need to provide their own configuration.
- Since:
- 4.0.0
- Author:
- Tim Yates
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.graalvm.nativeimage.hosted.Feature
org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess, org.graalvm.nativeimage.hosted.Feature.AfterCompilationAccess, org.graalvm.nativeimage.hosted.Feature.AfterHeapLayoutAccess, org.graalvm.nativeimage.hosted.Feature.AfterImageWriteAccess, org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess, org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess, org.graalvm.nativeimage.hosted.Feature.BeforeCompilationAccess, org.graalvm.nativeimage.hosted.Feature.BeforeImageWriteAccess, org.graalvm.nativeimage.hosted.Feature.BeforeUniverseBuildingAccess, org.graalvm.nativeimage.hosted.Feature.CompilationAccess, org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess, org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess, org.graalvm.nativeimage.hosted.Feature.FeatureAccess, org.graalvm.nativeimage.hosted.Feature.IsInConfigurationAccess, org.graalvm.nativeimage.hosted.Feature.OnAnalysisExitAccess, org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeAnalysis
(org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess access) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.graalvm.nativeimage.hosted.Feature
afterAnalysis, afterCompilation, afterHeapLayout, afterImageWrite, afterRegistration, beforeCompilation, beforeImageWrite, beforeUniverseBuilding, cleanup, duringAnalysis, duringSetup, getDescription, getRequiredFeatures, getURL, isInConfiguration, onAnalysisExit
-
Constructor Details
-
CaffeineFeature
public CaffeineFeature()
-
-
Method Details
-
beforeAnalysis
public void beforeAnalysis(org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess access) - Specified by:
beforeAnalysis
in interfaceorg.graalvm.nativeimage.hosted.Feature
-