Class DiskStoreConfiguration
java.lang.Object
org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
org.springframework.data.gemfire.config.annotation.DiskStoreConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.context.annotation.ImportBeanDefinitionRegistrar
,org.springframework.context.EnvironmentAware
- Direct Known Subclasses:
DiskStoresConfiguration
public class DiskStoreConfiguration
extends AbstractAnnotationConfigSupport
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar
The
DiskStoreConfiguration
class is a Spring ImportBeanDefinitionRegistrar
used to register
a GemFire/Geode DiskStore
bean definition.- Since:
- 1.9.0
- See Also:
-
DiskStore
BeanDefinition
BeanDefinitionBuilder
BeanDefinitionRegistry
ImportBeanDefinitionRegistrar
DiskStoreFactoryBean
EnableDiskStore
EnableDiskStores
DiskStoreConfigurer
AbstractAnnotationConfigSupport
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
AbstractAnnotationConfigSupport.TypeResolver<T>
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final boolean
protected static final boolean
protected static final int
protected static final float
protected static final float
protected static final long
protected static final int
protected static final long
protected static final int
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>
Returns theDiskStore
Annotation
type specified in configuration.protected org.springframework.beans.factory.support.ManagedList<org.springframework.beans.factory.config.BeanDefinition>
parseDiskStoreDirectories
(org.springframework.core.annotation.AnnotationAttributes enableDiskStoreAttributes) void
registerBeanDefinitions
(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry) protected void
registerDiskStoreBeanDefinition
(org.springframework.core.annotation.AnnotationAttributes enableDiskStoreAttributes, org.springframework.beans.factory.support.BeanDefinitionRegistry registry) protected org.springframework.beans.factory.support.BeanDefinitionBuilder
resolveDiskStoreDirectories
(String diskStoreName, org.springframework.core.annotation.AnnotationAttributes enableDiskStoreAttributes, org.springframework.beans.factory.support.BeanDefinitionBuilder diskStoreFactoryBeanBuilder) 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
-
Field Details
-
DEFAULT_ALLOW_FORCE_COMPACTION
protected static final boolean DEFAULT_ALLOW_FORCE_COMPACTION- See Also:
-
DEFAULT_AUTO_COMPACT
protected static final boolean DEFAULT_AUTO_COMPACT- See Also:
-
DEFAULT_DISK_USAGE_CRITICAL_PERCENTAGE
protected static final float DEFAULT_DISK_USAGE_CRITICAL_PERCENTAGE- See Also:
-
DEFAULT_DISK_USAGE_WARNING_PERCENTAGE
protected static final float DEFAULT_DISK_USAGE_WARNING_PERCENTAGE- See Also:
-
DEFAULT_COMPACTION_THRESHOLD
protected static final int DEFAULT_COMPACTION_THRESHOLD- See Also:
-
DEFAULT_QUEUE_SIZE
protected static final int DEFAULT_QUEUE_SIZE- See Also:
-
DEFAULT_WRITE_BUFFER_SIZE
protected static final int DEFAULT_WRITE_BUFFER_SIZE- See Also:
-
DEFAULT_MAX_OPLOG_SIZE
protected static final long DEFAULT_MAX_OPLOG_SIZE- See Also:
-
DEFAULT_TIME_INTERVAL
protected static final long DEFAULT_TIME_INTERVAL- See Also:
-
-
Constructor Details
-
DiskStoreConfiguration
public DiskStoreConfiguration()
-
-
Method Details
-
getAnnotationType
Returns theDiskStore
Annotation
type specified in configuration.- Specified by:
getAnnotationType
in classAbstractAnnotationConfigSupport
- Returns:
- the
DiskStore
Annotation
type specified in configuration. - See Also:
-
registerBeanDefinitions
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry) - Specified by:
registerBeanDefinitions
in interfaceorg.springframework.context.annotation.ImportBeanDefinitionRegistrar
-
registerDiskStoreBeanDefinition
protected void registerDiskStoreBeanDefinition(org.springframework.core.annotation.AnnotationAttributes enableDiskStoreAttributes, org.springframework.beans.factory.support.BeanDefinitionRegistry registry) -
resolveDiskStoreDirectories
protected org.springframework.beans.factory.support.BeanDefinitionBuilder resolveDiskStoreDirectories(String diskStoreName, org.springframework.core.annotation.AnnotationAttributes enableDiskStoreAttributes, org.springframework.beans.factory.support.BeanDefinitionBuilder diskStoreFactoryBeanBuilder) -
parseDiskStoreDirectories
protected org.springframework.beans.factory.support.ManagedList<org.springframework.beans.factory.config.BeanDefinition> parseDiskStoreDirectories(org.springframework.core.annotation.AnnotationAttributes enableDiskStoreAttributes)
-