Class DSLExtensionsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static <K extends Any, V extends Any> CacheConfig<K, V> cacheConfig(Function1<CacheConfig.Builder<K, V>, Unit> configure) Creates a cache configuration using a DSL-style builder.
      final static <K extends Any, V extends Any> Cache<K, V> createCacheWithProfile(ProfileName profileName, Function1<JCacheXBuilder<K, V>, Unit> configure) Creates a cache using the JCacheXBuilder with profile name for type safety.
      final static <K extends Any, V extends Any> Cache<K, V> createCache(Function1<JCacheXBuilder<K, V>, Unit> configure) Creates a cache using the JCacheXBuilder with the DEFAULT profile.
      final static <K extends Any, V extends Any> Cache<K, V> createSmartCache(Function1<JCacheXBuilder<K, V>, Unit> configure) Creates a cache with smart defaults based on workload characteristics.
      final static <K extends Any, V extends Any> Cache<K, V> createReadHeavyCache(Function1<JCacheXBuilder<K, V>, Unit> configure) Creates a cache optimized for read-heavy workloads (80%+ reads).
      final static <K extends Any, V extends Any> Cache<K, V> createWriteHeavyCache(Function1<JCacheXBuilder<K, V>, Unit> configure) Creates a cache optimized for write-heavy workloads (50%+ writes).
      final static <K extends Any, V extends Any> Cache<K, V> createMemoryEfficientCache(Function1<JCacheXBuilder<K, V>, Unit> configure) Creates a cache optimized for memory-constrained environments.
      final static <K extends Any, V extends Any> Cache<K, V> createHighPerformanceCache(Function1<JCacheXBuilder<K, V>, Unit> configure) Creates a cache optimized for maximum performance and throughput.
      final static <K extends Any, V extends Any> Cache<K, V> createSessionCache(Function1<JCacheXBuilder<K, V>, Unit> configure) Creates a cache optimized for user session storage.
      final static <K extends Any, V extends Any> Cache<K, V> createApiCache(Function1<JCacheXBuilder<K, V>, Unit> configure) Creates a cache optimized for API response caching.
      final static <K extends Any, V extends Any> Cache<K, V> createComputeCache(Function1<JCacheXBuilder<K, V>, Unit> configure) Creates a cache optimized for expensive computation results.
      final static <K extends Any, V extends Any> Cache<K, V> createMachineLearningCache(Function1<JCacheXBuilder<K, V>, Unit> configure) Creates a cache optimized for machine learning workloads.
      final static <K extends Any, V extends Any> Cache<K, V> createUltraLowLatencyCache(Function1<JCacheXBuilder<K, V>, Unit> configure) Creates a cache optimized for ultra-low latency requirements.
      final static <K extends Any, V extends Any> Cache<K, V> createHardwareOptimizedCache(Function1<JCacheXBuilder<K, V>, Unit> configure) Creates a cache optimized for hardware-specific features.
      final static <K extends Any, V extends Any> Cache<K, V> createUnifiedCache(Function1<JCacheXBuilder<K, V>, Unit> configure)
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • cacheConfig

         final static <K extends Any, V extends Any> CacheConfig<K, V> cacheConfig(Function1<CacheConfig.Builder<K, V>, Unit> configure)

        Creates a cache configuration using a DSL-style builder.

      • createCacheWithProfile

         final static <K extends Any, V extends Any> Cache<K, V> createCacheWithProfile(ProfileName profileName, Function1<JCacheXBuilder<K, V>, Unit> configure)

        Creates a cache using the JCacheXBuilder with profile name for type safety.

      • createCache

         final static <K extends Any, V extends Any> Cache<K, V> createCache(Function1<JCacheXBuilder<K, V>, Unit> configure)

        Creates a cache using the JCacheXBuilder with the DEFAULT profile.

      • createSmartCache

         final static <K extends Any, V extends Any> Cache<K, V> createSmartCache(Function1<JCacheXBuilder<K, V>, Unit> configure)

        Creates a cache with smart defaults based on workload characteristics.

      • createReadHeavyCache

         final static <K extends Any, V extends Any> Cache<K, V> createReadHeavyCache(Function1<JCacheXBuilder<K, V>, Unit> configure)

        Creates a cache optimized for read-heavy workloads (80%+ reads).

      • createWriteHeavyCache

         final static <K extends Any, V extends Any> Cache<K, V> createWriteHeavyCache(Function1<JCacheXBuilder<K, V>, Unit> configure)

        Creates a cache optimized for write-heavy workloads (50%+ writes).

      • createMemoryEfficientCache

         final static <K extends Any, V extends Any> Cache<K, V> createMemoryEfficientCache(Function1<JCacheXBuilder<K, V>, Unit> configure)

        Creates a cache optimized for memory-constrained environments.

      • createHighPerformanceCache

         final static <K extends Any, V extends Any> Cache<K, V> createHighPerformanceCache(Function1<JCacheXBuilder<K, V>, Unit> configure)

        Creates a cache optimized for maximum performance and throughput.

      • createSessionCache

         final static <K extends Any, V extends Any> Cache<K, V> createSessionCache(Function1<JCacheXBuilder<K, V>, Unit> configure)

        Creates a cache optimized for user session storage.

      • createApiCache

         final static <K extends Any, V extends Any> Cache<K, V> createApiCache(Function1<JCacheXBuilder<K, V>, Unit> configure)

        Creates a cache optimized for API response caching.

      • createComputeCache

         final static <K extends Any, V extends Any> Cache<K, V> createComputeCache(Function1<JCacheXBuilder<K, V>, Unit> configure)

        Creates a cache optimized for expensive computation results.

      • createMachineLearningCache

         final static <K extends Any, V extends Any> Cache<K, V> createMachineLearningCache(Function1<JCacheXBuilder<K, V>, Unit> configure)

        Creates a cache optimized for machine learning workloads.

      • createUltraLowLatencyCache

         final static <K extends Any, V extends Any> Cache<K, V> createUltraLowLatencyCache(Function1<JCacheXBuilder<K, V>, Unit> configure)

        Creates a cache optimized for ultra-low latency requirements.

      • createHardwareOptimizedCache

         final static <K extends Any, V extends Any> Cache<K, V> createHardwareOptimizedCache(Function1<JCacheXBuilder<K, V>, Unit> configure)

        Creates a cache optimized for hardware-specific features.

      • createUnifiedCache

         final static <K extends Any, V extends Any> Cache<K, V> createUnifiedCache(Function1<JCacheXBuilder<K, V>, Unit> configure)