Class CacheInfo


  • public class CacheInfo
    extends Object
    The required information to configure an in-memory cache in a FeatureCatalogue
    Author:
    Guy Griffiths
    • Constructor Detail

      • CacheInfo

        public CacheInfo()
      • CacheInfo

        public CacheInfo​(boolean enabled,
                         int inMemorySizeMB,
                         float elementLifetimeMinutes)
    • Method Detail

      • isEnabled

        public boolean isEnabled()
      • setEnabled

        public void setEnabled​(boolean enabled)
      • getInMemorySizeMB

        public int getInMemorySizeMB()
      • setInMemorySizeMB

        public void setInMemorySizeMB​(int inMemorySizeMB)
      • setElementLifetimeMinutes

        public void setElementLifetimeMinutes​(float elementLifetimeMinutes)
      • getElementLifetimeMinutes

        public float getElementLifetimeMinutes()