spring-geode/src/main/java/org/springframework/geode/config/annotation/ClusterAwareConfiguration.java
/**
		 * Caches the result of the computed {@link #doMatch(ConditionContext)} operation.
		 *
		 * Subsequent calls returns the cached value of the computed (once) {@link #doMatch(ConditionContext)}
		 * operation.
		 *
		 * @param conditionContext Spring {@link ConditionContext} capturing the context in which the conditions
		 * are evaluated; must not be {@literal null}.
		 * @return a boolean value indicating whether the conditions match (i.e. {@literal true}).
		 * @see org.springframework.context.annotation.ConditionContext
		 * @see #registerApplicationListener(ConditionContext)
		 * @see #doMatch(ConditionContext)
		 */
Caches the result of the computed  #doMatch(ConditionContext) operation.
Subsequent calls returns the cached value of the computed (once)  #doMatch(ConditionContext)
operation.

@param conditionContext Spring  ConditionContext capturing the context in which the conditions
are evaluated; must not be  null.
@return a boolean value indicating whether the conditions match .
Caches the result of the computed #doMatch ( ConditionContext ) operation . Subsequent calls returns the cached value of the computed ( once ) #doMatch ( ConditionContext ) operation . @param conditionContext Spring ConditionContext capturing the context in which the conditions are evaluated ; must not be null . @return a boolean value indicating whether the conditions match .
protected boolean doCachedMatch(@NonNull ConditionContext conditionContext) {
			Supplier<Boolean> evaluateConditionMatches = () -> {
				registerApplicationListener(conditionContext);
				return doMatch(conditionContext);
			};
			UnaryOperator<Boolean> clusterAvailableUpdateFunction = currentClusterAvailable ->
				ObjectUtils.initialize(currentClusterAvailable, evaluateConditionMatches);
			return clusterAvailable.updateAndGet(clusterAvailableUpdateFunction);
		}
protected boolean doCachedMatch ( @ NonNull ConditionContext conditionContext ) { Supplier < Boolean > evaluateConditionMatches = ( ) -> { registerApplicationListener ( conditionContext ) ; return doMatch ( conditionContext ) ; } ; UnaryOperator < Boolean > clusterAvailableUpdateFunction = currentClusterAvailable -> ObjectUtils . initialize ( currentClusterAvailable , evaluateConditionMatches ) ; return clusterAvailable . updateAndGet ( clusterAvailableUpdateFunction ) ; }
Caches the result of the computed {@link #doMatch(ConditionContext)} operation.
Caches the result of the computed { @link #doMatch ( ConditionContext ) } operation .