Class DurableClientConfiguration
java.lang.Object
org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
org.springframework.geode.config.annotation.DurableClientConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.context.annotation.ImportAware
,org.springframework.context.EnvironmentAware
@Configuration
public class DurableClientConfiguration
extends org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
implements org.springframework.context.annotation.ImportAware
The
DurableClientConfiguration
class is a Spring Configuration
class used to configure
this ClientCache
instance as a Durable Client by setting the durable-client-id
and durable-client-timeout properties in addition to enabling keepAlive
on ClientCache
shutdown.- Since:
- 1.0.0
- See Also:
-
ClientCache
Bean
Configuration
ImportAware
AnnotationAttributes
AnnotationMetadata
ClientCacheConfigurer
PeerCacheConfigurer
AbstractAnnotationConfigSupport
EnableDurableClient
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport.TypeResolver<T extends Object>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final boolean
static final boolean
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 Integer
protected Boolean
protected org.slf4j.Logger
protected Boolean
void
setImportMetadata
(org.springframework.core.type.AnnotationMetadata importMetadata) 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, 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
-
Field Details
-
DEFAULT_KEEP_ALIVE
public static final boolean DEFAULT_KEEP_ALIVE- See Also:
-
DEFAULT_READY_FOR_EVENTS
public static final boolean DEFAULT_READY_FOR_EVENTS- See Also:
-
DEFAULT_DURABLE_CLIENT_TIMEOUT
public static final int DEFAULT_DURABLE_CLIENT_TIMEOUT- See Also:
-
-
Constructor Details
-
DurableClientConfiguration
public DurableClientConfiguration()
-
-
Method Details
-
getAnnotationType
- Specified by:
getAnnotationType
in classorg.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
-
setImportMetadata
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) - Specified by:
setImportMetadata
in interfaceorg.springframework.context.annotation.ImportAware
-
getDurableClientId
-
getDurableClientTimeout
-
getKeepAlive
-
getReadyForEvents
-
getLogger
protected org.slf4j.Logger getLogger()- Overrides:
getLogger
in classorg.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
-