@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Import(value=EvictionConfiguration.class) public @interface EnableEviction
EnableEviction
annotation marks a Spring @Configuration
annotated class
to enable Region
Eviction.EvictionAttributes
,
Region
,
ObjectSizer
,
Import
,
EvictionConfiguration
,
EvictionActionType
,
EvictionPolicyType
,
Region
Modifier and Type | Optional Element and Description |
---|---|
EnableEviction.EvictionPolicy[] |
policies
Defines individual
Region Eviction policies or customizes the default Eviction policy applied
to all Regions . |
public abstract EnableEviction.EvictionPolicy[] policies
Region
Eviction policies or customizes the default Eviction policy applied
to all Regions
.
Defaults to empty.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.