protected abstract static class ClusterAvailableConfiguration.AbstractCloudPlatformAvailableCondition extends ClusterAwareConfiguration.ClusterAwareCondition
RUNTIME_ENVIRONMENT_NAME| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCloudPlatformAvailableCondition() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureTopology(org.springframework.core.env.Environment environment,
org.springframework.data.gemfire.support.ConnectionEndpointList connectionEndpoints,
int connectionCount) |
protected abstract java.lang.String |
getCloudPlatformName() |
protected java.lang.String |
getRuntimeEnvironmentName()
Returns a
String containing a description of the runtime environment. |
protected abstract boolean |
isCloudPlatformActive(org.springframework.core.env.Environment environment) |
protected boolean |
isInfoLoggingEnabled() |
protected boolean |
isMatchingStrictOrLoggable(boolean match,
boolean strictMatch) |
protected void |
logConnectedRuntimeEnvironment(org.slf4j.Logger logger) |
protected void |
logUnconnectedRuntimeEnvironment(org.slf4j.Logger logger) |
boolean |
matches(org.springframework.context.annotation.ConditionContext conditionContext,
org.springframework.core.type.AnnotatedTypeMetadata typeMetadata) |
close, connect, countConnections, doCachedMatch, doMatch, failOnStrictMatchAndNoMatches, getConfiguredConnectionEndpoints, getConnectionEndpoints, getDefaultConnectionEndpoints, getLogger, getPooledConnectionEndpoints, getPoolsFromApacheGeode, isAvailable, isConnected, isConnected, isNotConnected, isStrictMatch, isStrictMatchAndNoMatches, logConnectedRuntimeEnvironment, logRuntimeEnvironment, newSocket, newSocket, registerApplicationListener, reset, set, wasClusterAvailabilityEvaluatedprotected AbstractCloudPlatformAvailableCondition()
protected abstract java.lang.String getCloudPlatformName()
protected java.lang.String getRuntimeEnvironmentName()
ClusterAwareConfiguration.ClusterAwareConditionString containing a description of the runtime environment.getRuntimeEnvironmentName in class ClusterAwareConfiguration.ClusterAwareConditionString containing a description of the runtime environment.protected abstract boolean isCloudPlatformActive(@NonNull
org.springframework.core.env.Environment environment)
protected boolean isInfoLoggingEnabled()
protected boolean isMatchingStrictOrLoggable(boolean match,
boolean strictMatch)
public final boolean matches(@NonNull
org.springframework.context.annotation.ConditionContext conditionContext,
@NonNull
org.springframework.core.type.AnnotatedTypeMetadata typeMetadata)
matches in interface org.springframework.context.annotation.Conditionmatches in class ClusterAwareConfiguration.ClusterAwareConditionprotected void logConnectedRuntimeEnvironment(@NonNull
org.slf4j.Logger logger)
logConnectedRuntimeEnvironment in class ClusterAwareConfiguration.ClusterAwareConditionprotected void logUnconnectedRuntimeEnvironment(@NonNull
org.slf4j.Logger logger)
logUnconnectedRuntimeEnvironment in class ClusterAwareConfiguration.ClusterAwareConditionprotected void configureTopology(@NonNull
org.springframework.core.env.Environment environment,
@NonNull
org.springframework.data.gemfire.support.ConnectionEndpointList connectionEndpoints,
int connectionCount)
configureTopology in class ClusterAwareConfiguration.ClusterAwareCondition