@Configuration
public class DurableClientConfiguration
extends org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
implements org.springframework.context.annotation.ImportAware
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.ClientCache,
Bean,
Configuration,
ImportAware,
AnnotationAttributes,
AnnotationMetadata,
ClientCacheConfigurer,
PeerCacheConfigurer,
AbstractAnnotationConfigSupport,
EnableDurableClient| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_DURABLE_CLIENT_TIMEOUT |
static boolean |
DEFAULT_KEEP_ALIVE |
static boolean |
DEFAULT_READY_FOR_EVENTS |
| Constructor and Description |
|---|
DurableClientConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotationType() |
protected java.util.Optional<java.lang.String> |
getDurableClientId() |
protected java.lang.Integer |
getDurableClientTimeout() |
protected java.lang.Boolean |
getKeepAlive() |
protected org.slf4j.Logger |
getLogger() |
protected java.lang.Boolean |
getReadyForEvents() |
void |
setImportMetadata(org.springframework.core.type.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, statsPropertypublic static final boolean DEFAULT_KEEP_ALIVE
public static final boolean DEFAULT_READY_FOR_EVENTS
public static final int DEFAULT_DURABLE_CLIENT_TIMEOUT
protected java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
getAnnotationType in class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupportpublic void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
setImportMetadata in interface org.springframework.context.annotation.ImportAwareprotected java.util.Optional<java.lang.String> getDurableClientId()
protected java.lang.Integer getDurableClientTimeout()
protected java.lang.Boolean getKeepAlive()
protected java.lang.Boolean getReadyForEvents()
protected org.slf4j.Logger getLogger()