@Configuration
public class LocatorsConfiguration
extends org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
implements org.springframework.context.annotation.ImportAware
LocatorsConfiguration
class is a Spring Configuration
class used to configure Apache Geode
locators and/or remote-locators properties used by a peer Cache member
to join a cluster of servers when using the P2P topology.
The remote-locators property is used to configure the Locators that a cluster will use in order to
connect to a remote site in a multi-site (WAN) topology configuration. To use Locators in a WAN configuration,
you must specify a unique distributed system ID (distributed-system-id) for the local cluster
and remote Locator(s) for the remote clusters to which you will connect.Cache
,
Bean
,
Configuration
,
ImportAware
,
AnnotationAttributes
,
AnnotationMetadata
,
PeerCacheConfigurer
,
AbstractAnnotationConfigSupport
,
UseLocators
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_LOCATORS |
protected static java.lang.String |
DEFAULT_REMOTE_LOCATORS |
protected static java.lang.String |
LOCATORS_PROPERTY |
protected static java.lang.String |
REMOTE_LOCATORS_PROPERTY |
Constructor and Description |
---|
LocatorsConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotationType() |
protected java.util.Optional<java.lang.String> |
getLocators() |
protected org.slf4j.Logger |
getLogger() |
protected java.util.Optional<java.lang.String> |
getRemoteLocators() |
void |
setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) |
protected void |
setLocators(java.lang.String locators) |
protected void |
setRemoteLocators(java.lang.String remoteLocators) |
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, redisServiceProperty, 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
protected static final java.lang.String DEFAULT_LOCATORS
protected static final java.lang.String DEFAULT_REMOTE_LOCATORS
protected static final java.lang.String LOCATORS_PROPERTY
protected static final java.lang.String REMOTE_LOCATORS_PROPERTY
protected java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
getAnnotationType
in class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
setImportMetadata
in interface org.springframework.context.annotation.ImportAware
protected void setLocators(java.lang.String locators)
protected java.util.Optional<java.lang.String> getLocators()
protected org.slf4j.Logger getLogger()
getLogger
in class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
protected void setRemoteLocators(java.lang.String remoteLocators)
protected java.util.Optional<java.lang.String> getRemoteLocators()