Class ConfluenceHazelcastLocalCacheRegionFactory.DynamicEvictionConfig

java.lang.Object
com.atlassian.confluence.impl.cache.hazelcast.hibernate.ConfluenceHazelcastLocalCacheRegionFactory.DynamicEvictionConfig
All Implemented Interfaces:
com.hazelcast.hibernate.local.LocalRegionCache.EvictionConfig
Enclosing class:
ConfluenceHazelcastLocalCacheRegionFactory

public static class ConfluenceHazelcastLocalCacheRegionFactory.DynamicEvictionConfig extends Object implements com.hazelcast.hibernate.local.LocalRegionCache.EvictionConfig
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.hazelcast.hibernate.local.LocalRegionCache.EvictionConfig

    com.hazelcast.hibernate.local.LocalRegionCache.EvictionConfig.DefaultEvictionConfig
  • Constructor Summary

    Constructors
    Constructor
    Description
    DynamicEvictionConfig(com.atlassian.cache.CacheSettingsDefaultsProvider cacheSettingsDefaultsProvider, String name)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.hazelcast.config.MaxSizePolicy
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.hazelcast.hibernate.local.LocalRegionCache.EvictionConfig

    getMaxSize
  • Constructor Details

    • DynamicEvictionConfig

      public DynamicEvictionConfig(com.atlassian.cache.CacheSettingsDefaultsProvider cacheSettingsDefaultsProvider, String name)
  • Method Details

    • getTimeToLive

      public Duration getTimeToLive()
      Specified by:
      getTimeToLive in interface com.hazelcast.hibernate.local.LocalRegionCache.EvictionConfig
    • getSize

      public int getSize()
      Specified by:
      getSize in interface com.hazelcast.hibernate.local.LocalRegionCache.EvictionConfig
    • getMaxSizePolicy

      public com.hazelcast.config.MaxSizePolicy getMaxSizePolicy()
      Specified by:
      getMaxSizePolicy in interface com.hazelcast.hibernate.local.LocalRegionCache.EvictionConfig