Class Jsr107CacheConfiguration

java.lang.Object
org.ehcache.jsr107.config.Jsr107CacheConfiguration
All Implemented Interfaces:
org.ehcache.spi.service.ServiceConfiguration<org.ehcache.jsr107.Jsr107Service,Void>

public class Jsr107CacheConfiguration extends Object implements org.ehcache.spi.service.ServiceConfiguration<org.ehcache.jsr107.Jsr107Service,Void>
Jsr107CacheConfiguration
  • Constructor Details

  • Method Details

    • getServiceType

      public Class<org.ehcache.jsr107.Jsr107Service> getServiceType()
      Specified by:
      getServiceType in interface org.ehcache.spi.service.ServiceConfiguration<org.ehcache.jsr107.Jsr107Service,Void>
    • isManagementEnabled

      public ConfigurationElementState isManagementEnabled()
      Indicates if management is to be enabled.

      A null return value indicates that cache manager level config is to be taken.

      Returns:
      true if management is enabled, false if disabled, null to keep cache manager level
    • isStatisticsEnabled

      public ConfigurationElementState isStatisticsEnabled()
      Indicates if statistics are to be enabled.

      A null return value indicates that cache manager level config is to be taken.

      Returns:
      true if statistics are enabled, false if disabled, null to keep cache manager level