@Configuration public class EvictionConfiguration extends AbstractAnnotationConfigSupport implements ApplicationContextAware, ImportAware
EvictionConfiguration
class is a Spring @Configuration
annotated class to enable
Eviction policy configuration on cache Regions
.BeanPostProcessor
,
ApplicationContext
,
ApplicationContextAware
,
Bean
,
Configuration
,
ImportAware
,
PeerRegionFactoryBean
,
ResolvableRegionFactoryBean
,
ClientRegionFactoryBean
,
AbstractAnnotationConfigSupport
,
EvictionActionType
,
EvictionAttributesFactoryBean
,
EvictionPolicyType
,
EvictionAttributes
,
Region
,
ObjectSizer
Modifier and Type | Class and Description |
---|---|
protected static class |
EvictionConfiguration.ComposableEvictionPolicyConfigurer
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 . |
protected static interface |
EvictionConfiguration.EvictionPolicyConfigurer
EvictionConfiguration.EvictionPolicyConfigurer configures the Eviction policy of a GemFire Region . |
protected static class |
EvictionConfiguration.EvictionPolicyMetaData |
AbstractAnnotationConfigSupport.TypeResolver<T>
INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX
Constructor and Description |
---|
EvictionConfiguration() |
Modifier and Type | Method and Description |
---|---|
BeanPostProcessor |
evictionBeanPostProcessor() |
protected Class<? extends Annotation> |
getAnnotationType()
Returns the
Annotation type that enables and configures Eviction. |
protected EvictionConfiguration.EvictionPolicyConfigurer |
getEvictionPolicyConfigurer()
Returns a reference to the configured
EvictionConfiguration.EvictionPolicyConfigurer used to configure the Eviction policy
of a Region . |
protected static boolean |
isRegionFactoryBean(Object bean)
Determines whether the Spring bean is an instance of
EvictingRegionFactoryBean . |
void |
setApplicationContext(ApplicationContext applicationContext)
Sets a reference to the Spring
ApplicationContext . |
void |
setImportMetadata(AnnotationMetadata importMetadata) |
arrayOfPropertyNamesFor, arrayOfPropertyNamesFor, asArrayProperty, cacheClientProperty, cacheCompressionProperty, cacheOffHeapProperty, cachePeerProperty, cacheProperty, cacheServerProperty, clusterProperty, diskStoreProperty, entitiesProperty, getAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, getAnnotationTypeName, getAnnotationTypeSimpleName, getBeanClassLoader, getBeanFactory, getEnvironment, getEvaluationContext, getLog, hasValue, hasValue, hasValue, httpServiceProperty, isAnnotationPresent, isAnnotationPresent, isNotInfrastructureBean, isNotInfrastructureBean, isNotInfrastructureClass, isNotInfrastructureClass, isNotInfrastructureRole, isUserLevelMethod, locatorProperty, logDebug, logDebug, logError, logError, loggingProperty, logInfo, logInfo, logWarning, logWarning, managementProperty, managerProperty, memcachedServiceProperty, namedCacheServerProperty, namedDiskStoreProperty, namedPoolProperty, newEvaluationContext, newLog, pdxProperty, poolProperty, propertyName, redisServiceProperty, register, register, requireProperty, resolveAnnotation, resolveBeanClass, resolveBeanClass, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassName, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, safeResolveType, securityProperty, serviceProperty, setBeanClassLoader, setBeanFactory, setEnvironment, sslProperty, statsProperty
protected Class<? extends Annotation> getAnnotationType()
Annotation
type
that enables and configures Eviction.getAnnotationType
in class AbstractAnnotationConfigSupport
Annotation
type
to enable and configure Eviction.Annotation
,
Class
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
ApplicationContext
.setApplicationContext
in interface ApplicationContextAware
applicationContext
- Spring ApplicationContext
in use.BeansException
- if an error occurs while storing a reference to the Spring ApplicationContext
.ApplicationContextAware.setApplicationContext(ApplicationContext)
,
ApplicationContext
public void setImportMetadata(AnnotationMetadata importMetadata)
setImportMetadata
in interface ImportAware
protected static boolean isRegionFactoryBean(Object bean)
EvictingRegionFactoryBean
.bean
- Spring bean to evaluate.EvictingRegionFactoryBean
.EvictingRegionFactoryBean
,
ClientRegionFactoryBean
,
PeerRegionFactoryBean
protected EvictionConfiguration.EvictionPolicyConfigurer getEvictionPolicyConfigurer()
EvictionConfiguration.EvictionPolicyConfigurer
used to configure the Eviction policy
of a Region
.EvictionConfiguration.EvictionPolicyConfigurer
.EvictionConfiguration.EvictionPolicyConfigurer
@Bean public BeanPostProcessor evictionBeanPostProcessor()
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.