Class CacheConfig

  • All Implemented Interfaces:
    Serializable

    public class CacheConfig
    extends Object
    implements Serializable
    Configuration for model and result caching in SQL inference.

    Controls the caching behavior for both loaded models and inference results to improve performance and reduce redundant computations.

    Since:
    1.0.0
    Author:
    Nestor Martourez Abiangang A.
    See Also:
    Serialized Form
    • Method Detail

      • isEnabled

        public boolean isEnabled()
      • getMaxSize

        public int getMaxSize()
      • getTtlMs

        public long getTtlMs()
      • isResultCacheEnabled

        public boolean isResultCacheEnabled()
      • getResultCacheMaxSize

        public int getResultCacheMaxSize()
      • getResultCacheTtlMs

        public long getResultCacheTtlMs()