@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.EvictionAttributes,
Region,
ObjectSizer,
BeanPostProcessor,
ApplicationContext,
ApplicationContextAware,
Bean,
Configuration,
ImportAware,
PeerRegionFactoryBean,
ResolvableRegionFactoryBean,
ClientRegionFactoryBean,
AbstractAnnotationConfigSupport,
EvictionActionType,
EvictionAttributesFactoryBean,
EvictionPolicyType| 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 Pivotal 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, gatewayReceiverProperty, gatewaySenderProperty, 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, namedGatewaySenderProperty, namedPoolProperty, newEvaluationContext, newLog, pdxProperty, poolProperty, propertyName, redisServiceProperty, register, register, requireProperty, resolveAnnotation, resolveBeanClass, resolveBeanClass, resolveBeanClass, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassName, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, safeResolveType, securityProperty, serviceProperty, setBeanClassLoader, setBeanFactory, setEnvironment, sslProperty, statsPropertyprotected Class<? extends Annotation> getAnnotationType()
Annotation type that enables and configures Eviction.getAnnotationType in class AbstractAnnotationConfigSupportAnnotation type to enable and configure Eviction.Annotation,
Classpublic void setApplicationContext(ApplicationContext applicationContext) throws BeansException
ApplicationContext.setApplicationContext in interface ApplicationContextAwareapplicationContext - Spring ApplicationContext in use.BeansException - if an error occurs while storing a reference to the Spring ApplicationContext.ApplicationContextAware.setApplicationContext(ApplicationContext),
ApplicationContextpublic void setImportMetadata(AnnotationMetadata importMetadata)
setImportMetadata in interface ImportAwareprotected static boolean isRegionFactoryBean(Object bean)
EvictingRegionFactoryBean.bean - Spring bean to evaluate.EvictingRegionFactoryBean.EvictingRegionFactoryBean,
ClientRegionFactoryBean,
PeerRegionFactoryBeanprotected EvictionConfiguration.EvictionPolicyConfigurer getEvictionPolicyConfigurer()
EvictionConfiguration.EvictionPolicyConfigurer used to configure the Eviction policy
of a Region.EvictionConfiguration.EvictionPolicyConfigurer.EvictionConfiguration.EvictionPolicyConfigurer@Bean public BeanPostProcessor evictionBeanPostProcessor()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.