Example usage for org.springframework.data.gemfire.util SpringUtils defaultIfEmpty

List of usage examples for org.springframework.data.gemfire.util SpringUtils defaultIfEmpty

Introduction

In this page you can find the example usage for org.springframework.data.gemfire.util SpringUtils defaultIfEmpty.

Prototype

public static String defaultIfEmpty(String value, Supplier<String> supplier) 

Source Link

Usage

From source file:org.springframework.data.gemfire.config.xml.ParsingUtils.java

static String resolveCacheReference(String cacheReference) {
    return SpringUtils.defaultIfEmpty(cacheReference, GemfireConstants.DEFAULT_GEMFIRE_CACHE_NAME);
}