org.qi4j.cache.ehcache

## Interface EhCacheConfiguration

- All Superinterfaces:
    Composite, ConfigurationComposite, Identity

      public interface EhCacheConfiguration
      extends ConfigurationComposite

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.qi4j.api.entity.Identity

      `Identity.IdentityMixin`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Property<String>` | `cacheManagerName()`
    `Property<Boolean>` | `clearOnFlush()`
    `Property<Integer>` | `diskAccessStripes()`
    `Property<Long>` | `diskExpiryThreadIntervalSeconds()`
    `Property<Integer>` | `diskSpoolBufferSizeMB()`
    `Property<String>` | `diskStorePath()`
    `Property<Boolean>` | `eternal()`
    `Property<Boolean>` | `loggingEnabled()`
    `Property<Integer>` | `maxElementsInMemory()` Number of objects the ehCache should keep in memory.
    `Property<Integer>` | `maxElementsOnDisk()`
    `Property<String>` | `memoryStoreEvictionPolicy()`
    `Property<String>` | `monitoring()`
    `Property<String>` | `name()`
    `Property<net.sf.ehcache.config.PersistenceConfiguration.Strategy>` | `persistenceStrategy()` Cache Persistence Strategy.
    `Property<Long>` | `timeToIdleSeconds()`
    `Property<Long>` | `timeToLiveSeconds()`
    `Property<String>` | `transactionalMode()`
    `Property<Boolean>` | `updateCheck()`

    - ### Methods inherited from interface org.qi4j.api.entity.Identity

      `identity`

- - ### Method Detail

    - #### clearOnFlush

          @Optional
          @UseDefaults
          Property<Boolean> clearOnFlush()

    - #### diskAccessStripes

          @Optional
          @UseDefaults
          Property<Integer> diskAccessStripes()

    - #### diskExpiryThreadIntervalSeconds

          @Optional
          @UseDefaults
          Property<Long> diskExpiryThreadIntervalSeconds()

    - #### persistenceStrategy

          @Optional
          Property<net.sf.ehcache.config.PersistenceConfiguration.Strategy> persistenceStrategy()

      Cache Persistence Strategy. Can be:
      - LOCALTEMPSWAP: Standard open source (non fault-tolerant) on-disk persistence.
      - LOCALRESTARTABLE: Enterprise fault tolerant persistence.
      - NONE: No persistence.
      - DISTRIBUTED: Terracotta clustered persistence (requires a Terracotta clustered cache).
      Defaults to NONE.

    - #### diskStorePath

          @Optional
          @UseDefaults
          Property<String> diskStorePath()

    - #### diskSpoolBufferSizeMB

          @Optional
          @UseDefaults
          Property<Integer> diskSpoolBufferSizeMB()

    - #### eternal

          @Optional
          @UseDefaults
          Property<Boolean> eternal()

    - #### loggingEnabled

          @Optional
          @UseDefaults
          Property<Boolean> loggingEnabled()

    - #### maxElementsInMemory

          @Optional
          @UseDefaults
          Property<Integer> maxElementsInMemory()

      Number of objects the ehCache should keep in memory. Defaults to 1000
      Returns:
        The maximum number of elements to be kept in memory.

    - #### maxElementsOnDisk

          @Optional
          @UseDefaults
          Property<Integer> maxElementsOnDisk()

    - #### memoryStoreEvictionPolicy

          @Optional
          @UseDefaults
          Property<String> memoryStoreEvictionPolicy()

    - #### name

          @Optional
          @UseDefaults
          Property<String> name()

    - #### transactionalMode

          @Optional
          @UseDefaults
          Property<String> transactionalMode()

    - #### timeToLiveSeconds

          @Optional
          @UseDefaults
          Property<Long> timeToLiveSeconds()

    - #### timeToIdleSeconds

          @Optional
          @UseDefaults
          Property<Long> timeToIdleSeconds()

    - #### cacheManagerName

          @Optional
          @UseDefaults
          Property<String> cacheManagerName()

    - #### monitoring

          @Optional
          @UseDefaults
          Property<String> monitoring()

    - #### updateCheck

          @Optional
          @UseDefaults
          Property<Boolean> updateCheck()