Class OffHeapConfiguration
java.lang.Object
org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
org.springframework.data.gemfire.config.annotation.support.EmbeddedServiceConfigurationSupport
org.springframework.data.gemfire.config.annotation.OffHeapConfiguration
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,ImportBeanDefinitionRegistrar
,EnvironmentAware
The
OffHeapConfiguration
class is a Spring ImportBeanDefinitionRegistrar
capable of
enabling Pivotal GemFire/Apache Geode cache Regions
to use Off-Heap Memory for data storage.- Since:
- 1.9.0
- Author:
- John Blum
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Nested classes/interfaces inherited from class org.springframework.data.gemfire.config.annotation.support.EmbeddedServiceConfigurationSupport
EmbeddedServiceConfigurationSupport.AbstractGemFirePropertiesConfigurer, EmbeddedServiceConfigurationSupport.ClientGemFirePropertiesConfigurer, EmbeddedServiceConfigurationSupport.GemFirePropertiesBeanPostProcessor, EmbeddedServiceConfigurationSupport.LocatorGemFirePropertiesConfigurer, EmbeddedServiceConfigurationSupport.PeerGemFirePropertiesConfigurer
Nested classes/interfaces inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
AbstractAnnotationConfigSupport.TypeResolver<T>
-
Field Summary
Fields inherited from class org.springframework.data.gemfire.config.annotation.support.EmbeddedServiceConfigurationSupport
DEFAULT_HOST, DEFAULT_PORT
Fields inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
CURRENT_THREAD_CONTEXT_CLASS_LOADER, INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Class<? extends Annotation>
protected void
registerBeanDefinitions
(AnnotationMetadata importingClassMetadata, Map<String, Object> annotationAttributes, BeanDefinitionRegistry registry) protected Properties
toGemFireProperties
(Map<String, Object> annotationAttributes) Methods inherited from class org.springframework.data.gemfire.config.annotation.support.EmbeddedServiceConfigurationSupport
generateBeanName, generateBeanName, generateBeanName, getCacheConfiguration, hasProperties, newBeanDefinitionHolder, registerBeanDefinitions, registerBeanDefinitions, registerClientGemFirePropertiesConfigurer, registerGemFirePropertiesBeanPostProcessor, registerGemFirePropertiesConfigurer, registerLocatorGemFirePropertiesConfigurer, registerPeerGemFirePropertiesConfigurer, resolveBean, resolveHost, resolveHost, resolvePort, resolvePort, setGemFireProperties
Methods inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
arrayOfPropertyNamesFor, arrayOfPropertyNamesFor, asArrayProperty, cacheClientProperty, cacheCompressionProperty, cacheOffHeapProperty, cachePeerProperty, cacheProperty, cacheServerProperty, clusterProperty, diskStoreProperty, entitiesProperty, gatewayReceiverProperty, gatewaySenderProperty, getAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, getAnnotationTypeName, getAnnotationTypeSimpleName, getBeanClassLoader, getBeanFactory, getEnvironment, getEvaluationContext, getLogger, hasValue, hasValue, hasValue, httpServiceProperty, isAnnotationPresent, isAnnotationPresent, isNotInfrastructureBean, isNotInfrastructureBean, isNotInfrastructureClass, isNotInfrastructureRole, isUserLevelMethod, locatorProperty, logDebug, logDebug, logError, logError, loggingProperty, logInfo, logInfo, logWarning, logWarning, managementProperty, managerProperty, memcachedServiceProperty, namedCacheServerProperty, namedDiskStoreProperty, namedGatewaySenderProperty, namedPoolProperty, newEvaluationContext, newLogger, pdxProperty, poolProperty, propertyName, register, register, requireProperty, resolveAnnotation, resolveBeanClass, resolveBeanClass, resolveBeanClass, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassName, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, safeResolveType, securityProperty, serviceProperty, setBeanClassLoader, setBeanFactory, setEnvironment, sslProperty, statsProperty
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
registerBeanDefinitions
-
Constructor Details
-
OffHeapConfiguration
public OffHeapConfiguration()
-
-
Method Details
-
getAnnotationType
- Specified by:
getAnnotationType
in classAbstractAnnotationConfigSupport
- Returns:
- the
EnableOffHeap
Annotation
Class
type. - See Also:
-
registerBeanDefinitions
protected void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, Map<String, Object> annotationAttributes, BeanDefinitionRegistry registry) - Overrides:
registerBeanDefinitions
in classEmbeddedServiceConfigurationSupport
-
toGemFireProperties
- Specified by:
toGemFireProperties
in classEmbeddedServiceConfigurationSupport
-