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 Summary
Modifier and TypeMethodDescriptionvoid
setCustomEntryIdleTimeout
(CustomExpiry<K, V> customEntryIdleTimeout) void
setCustomEntryTimeToLive
(CustomExpiry<K, V> customEntryTimeToLive) void
setEntryIdleTimeout
(ExpirationAttributes entryIdleTimeout) void
setEntryTimeToLive
(ExpirationAttributes entryTimeToLive) void
setRegionIdleTimeout
(ExpirationAttributes regionIdleTimeout) void
setRegionTimeToLive
(ExpirationAttributes regionTimeToLive)
-
Method Details
-
setCustomEntryIdleTimeout
-
setCustomEntryTimeToLive
-
setEntryIdleTimeout
-
setEntryTimeToLive
-
setRegionIdleTimeout
-
setRegionTimeToLive
-