Interface ExpiringRegionFactoryBean<K,V>

All Known Implementing Classes:
CacheTypeAwareRegionFactoryBean, ClientRegionFactoryBean, GenericRegionFactoryBean, LocalRegionFactoryBean, PartitionedRegionFactoryBean, PeerRegionFactoryBean, ReplicatedRegionFactoryBean

public interface ExpiringRegionFactoryBean<K,V>
The ExpiringRegionFactoryBean interface signifies Region FactoryBeans that support Expiration configuration. That is, Region's capable of expiring both entries as well as the Region itself. Expiration policies may either be expressed as ExpirationAttributes or using a CustomExpiry object enable the application developer to specify custom expiration criteria. Apache Geode and Pivotal GemFire supports both Idle Timeout (TTI) as well as Time-to-Live (TTL) expiration policies at both the Region level as well as for entries.
Since:
2.1.0
Author:
John Blum
See Also:
  • Method Details

    • setCustomEntryIdleTimeout

      void setCustomEntryIdleTimeout(CustomExpiry<K,V> customEntryIdleTimeout)
    • setCustomEntryTimeToLive

      void setCustomEntryTimeToLive(CustomExpiry<K,V> customEntryTimeToLive)
    • setEntryIdleTimeout

      void setEntryIdleTimeout(ExpirationAttributes entryIdleTimeout)
    • setEntryTimeToLive

      void setEntryTimeToLive(ExpirationAttributes entryTimeToLive)
    • setRegionIdleTimeout

      void setRegionIdleTimeout(ExpirationAttributes regionIdleTimeout)
    • setRegionTimeToLive

      void setRegionTimeToLive(ExpirationAttributes regionTimeToLive)