protected static class EvictionConfiguration.ComposableEvictionPolicyConfigurer extends Object implements EvictionConfiguration.EvictionPolicyConfigurer
EvictionConfiguration.ComposableEvictionPolicyConfigurer
is a EvictionConfiguration.EvictionPolicyConfigurer
implementation that composes
multiple EvictionConfiguration.EvictionPolicyConfigurer
objects into a composition using the Composite Software Design Pattern
making the composition appear as a single EvictionConfiguration.EvictionPolicyConfigurer
.@Nullable protected static EvictionConfiguration.EvictionPolicyConfigurer compose(EvictionConfiguration.EvictionPolicyConfigurer[] array)
EvictionConfiguration.EvictionPolicyConfigurer
objects into a single
EvictionConfiguration.EvictionPolicyConfigurer
implementation using the Composite Software Design Pattern.array
- array of EvictionConfiguration.EvictionPolicyConfigurer
objects to compose.EvictionConfiguration.EvictionPolicyConfigurer
implementation composed from the array
of EvictionConfiguration.EvictionPolicyConfigurer
objects.EvictionConfiguration.EvictionPolicyConfigurer
,
compose(Iterable)
@Nullable protected static EvictionConfiguration.EvictionPolicyConfigurer compose(Iterable<EvictionConfiguration.EvictionPolicyConfigurer> iterable)
Iterable
of EvictionConfiguration.EvictionPolicyConfigurer
objects into a single
EvictionConfiguration.EvictionPolicyConfigurer
implementation using the Composite Software Design Pattern.iterable
- Iterable
of EvictionConfiguration.EvictionPolicyConfigurer
objects to compose.EvictionConfiguration.EvictionPolicyConfigurer
implementation composed from the Iterable
of EvictionConfiguration.EvictionPolicyConfigurer
objects.EvictionConfiguration.EvictionPolicyConfigurer
,
#compose(EvictionPolicyConfigurer, EvictionPolicyConfigurer)
@Nullable protected static EvictionConfiguration.EvictionPolicyConfigurer compose(@Nullable EvictionConfiguration.EvictionPolicyConfigurer one, @Nullable EvictionConfiguration.EvictionPolicyConfigurer two)
EvictionConfiguration.EvictionPolicyConfigurer
objects into a composition object
implementing the EvictionConfiguration.EvictionPolicyConfigurer
interface.one
- first EvictionConfiguration.EvictionPolicyConfigurer
object to compose.two
- second EvictionConfiguration.EvictionPolicyConfigurer
object to compose.EvictionConfiguration.EvictionPolicyConfigurer
object implementation composed of
multiple EvictionConfiguration.EvictionPolicyConfigurer
objects using the Composite Software Design Pattern.public Object configure(Object regionBean)
EvictionConfiguration.EvictionPolicyConfigurer
ClientRegionFactoryBean
or PeerRegionFactoryBean
used to create an Apache Geode Region
.configure
in interface EvictionConfiguration.EvictionPolicyConfigurer
regionBean
- ClientRegionFactoryBean
or PeerRegionFactoryBean
used to create
an Apache Geode Region
.regionFactoryBean
.PeerRegionFactoryBean
,
ClientRegionFactoryBean
public org.apache.geode.cache.Region<?,?> configure(org.apache.geode.cache.Region<?,?> region)
EvictionConfiguration.EvictionPolicyConfigurer
Region
.configure
in interface EvictionConfiguration.EvictionPolicyConfigurer
region
- Region
on which to configure the Eviction policy.Region
.Region
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.