Class CaffeineProcessor

java.lang.Object
io.quarkus.caffeine.deployment.CaffeineProcessor

public class CaffeineProcessor extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) void
    cacheLoaders(io.quarkus.deployment.builditem.CombinedIndexBuildItem combinedIndex, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem> reflectiveClasses)
     
    (package private) void
    collectCaffeineTreeShakeRoots(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.pkg.builditem.JarTreeShakeRootClassBuildItem> roots)
    Caffeine's LocalCacheFactory uses MethodHandles.Lookup.findClass() to load cache implementation classes by dynamically constructed names (e.g.
    (package private) io.quarkus.deployment.builditem.NativeImageFeatureBuildItem
     
    (package private) io.quarkus.deployment.builditem.nativeimage.NativeImageSystemPropertyBuildItem
    registerRecordStatsImplementationsIfMicrometerAround(Optional<io.quarkus.deployment.metrics.MetricsCapabilityBuildItem> metricsCapability)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CaffeineProcessor

      public CaffeineProcessor()
  • Method Details

    • cacheLoaders

      void cacheLoaders(io.quarkus.deployment.builditem.CombinedIndexBuildItem combinedIndex, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem> reflectiveClasses)
    • nativeImageFeature

      io.quarkus.deployment.builditem.NativeImageFeatureBuildItem nativeImageFeature()
    • registerRecordStatsImplementationsIfMicrometerAround

      io.quarkus.deployment.builditem.nativeimage.NativeImageSystemPropertyBuildItem registerRecordStatsImplementationsIfMicrometerAround(Optional<io.quarkus.deployment.metrics.MetricsCapabilityBuildItem> metricsCapability)
    • collectCaffeineTreeShakeRoots

      void collectCaffeineTreeShakeRoots(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.pkg.builditem.JarTreeShakeRootClassBuildItem> roots)
      Caffeine's LocalCacheFactory uses MethodHandles.Lookup.findClass() to load cache implementation classes by dynamically constructed names (e.g. SSMSA). Register the known variants as tree-shake roots so they survive JAR tree shaking.