Class ClusterAvailableConfiguration.CloudFoundryClusterAvailableCondition
java.lang.Object
org.springframework.geode.config.annotation.ClusterAwareConfiguration.ClusterAwareCondition
org.springframework.geode.config.annotation.ClusterAvailableConfiguration.AbstractCloudPlatformAvailableCondition
org.springframework.geode.config.annotation.ClusterAvailableConfiguration.CloudFoundryClusterAvailableCondition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
- Enclosing class:
- ClusterAvailableConfiguration
public static class ClusterAvailableConfiguration.CloudFoundryClusterAvailableCondition
extends ClusterAvailableConfiguration.AbstractCloudPlatformAvailableCondition
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected String
Returns aString
containing a description of the runtime environment.protected boolean
isCloudPlatformActive
(org.springframework.core.env.Environment environment) Methods inherited from class org.springframework.geode.config.annotation.ClusterAvailableConfiguration.AbstractCloudPlatformAvailableCondition
configureTopology, isInfoLoggingEnabled, isMatchingStrictOrLoggable, logConnectedRuntimeEnvironment, logUnconnectedRuntimeEnvironment, matches
Methods inherited from class org.springframework.geode.config.annotation.ClusterAwareConfiguration.ClusterAwareCondition
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, wasClusterAvailabilityEvaluated
-
Field Details
-
CLOUD_FOUNDRY_NAME
- See Also:
-
RUNTIME_ENVIRONMENT_NAME
- See Also:
-
-
Constructor Details
-
CloudFoundryClusterAvailableCondition
public CloudFoundryClusterAvailableCondition()
-
-
Method Details
-
getCloudPlatformName
- Specified by:
getCloudPlatformName
in classClusterAvailableConfiguration.AbstractCloudPlatformAvailableCondition
-
getRuntimeEnvironmentName
Description copied from class:ClusterAwareConfiguration.ClusterAwareCondition
Returns aString
containing a description of the runtime environment.- Overrides:
getRuntimeEnvironmentName
in classClusterAvailableConfiguration.AbstractCloudPlatformAvailableCondition
- Returns:
- a
String
containing a description of the runtime environment.
-
isCloudPlatformActive
protected boolean isCloudPlatformActive(@NonNull org.springframework.core.env.Environment environment) - Specified by:
isCloudPlatformActive
in classClusterAvailableConfiguration.AbstractCloudPlatformAvailableCondition
-