public interface ExpiringRegionFactoryBean<K,V>
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.CustomExpiry,
ExpirationAttributes,
Region| Modifier and Type | Method and Description |
|---|---|
void |
setCustomEntryIdleTimeout(org.apache.geode.cache.CustomExpiry<K,V> customEntryIdleTimeout) |
void |
setCustomEntryTimeToLive(org.apache.geode.cache.CustomExpiry<K,V> customEntryTimeToLive) |
void |
setEntryIdleTimeout(org.apache.geode.cache.ExpirationAttributes entryIdleTimeout) |
void |
setEntryTimeToLive(org.apache.geode.cache.ExpirationAttributes entryTimeToLive) |
void |
setRegionIdleTimeout(org.apache.geode.cache.ExpirationAttributes regionIdleTimeout) |
void |
setRegionTimeToLive(org.apache.geode.cache.ExpirationAttributes regionTimeToLive) |
void setCustomEntryIdleTimeout(org.apache.geode.cache.CustomExpiry<K,V> customEntryIdleTimeout)
void setCustomEntryTimeToLive(org.apache.geode.cache.CustomExpiry<K,V> customEntryTimeToLive)
void setEntryIdleTimeout(org.apache.geode.cache.ExpirationAttributes entryIdleTimeout)
void setEntryTimeToLive(org.apache.geode.cache.ExpirationAttributes entryTimeToLive)
void setRegionIdleTimeout(org.apache.geode.cache.ExpirationAttributes regionIdleTimeout)
void setRegionTimeToLive(org.apache.geode.cache.ExpirationAttributes regionTimeToLive)
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.