Class CacheProperties

  • All Implemented Interfaces:
    org.glassfish.hk2.api.PostConstruct

    @Service
    public class CacheProperties
    extends Object
    implements org.glassfish.hk2.api.PostConstruct
    A util class to read the bean cache related entries from domain.xml and sun-ejb-jar.xml
    Author:
    Mahesh Kannan
    • Field Detail

      • _logger

        protected static final Logger _logger
    • Constructor Detail

      • CacheProperties

        public CacheProperties()
    • Method Detail

      • postConstruct

        public void postConstruct()
        Specified by:
        postConstruct in interface org.glassfish.hk2.api.PostConstruct
      • getMaxCacheSize

        public int getMaxCacheSize()
      • getNumberOfVictimsToSelect

        public int getNumberOfVictimsToSelect()
      • getCacheIdleTimeoutInSeconds

        public int getCacheIdleTimeoutInSeconds()
      • getRemovalTimeoutInSeconds

        public int getRemovalTimeoutInSeconds()
      • getVictimSelectionPolicy

        public String getVictimSelectionPolicy()
      • getPassivationStorePath

        public String getPassivationStorePath()