Example usage for org.springframework.data.gemfire CacheFactoryBean getCopyOnRead

List of usage examples for org.springframework.data.gemfire CacheFactoryBean getCopyOnRead

Introduction

In this page you can find the example usage for org.springframework.data.gemfire CacheFactoryBean getCopyOnRead.

Prototype

public Boolean getCopyOnRead() 

Source Link

Usage

From source file:org.spring.data.gemfire.cache.CachePrematureInitializationTest.java

protected static void printCacheFactoryBeanSettings(final CacheFactoryBean cacheFactoryBean) {
    StringBuilder buffer = new StringBuilder("{copyOnRead = ").append(cacheFactoryBean.getCopyOnRead())
            .append(", lock-lease = ").append(cacheFactoryBean.getLockLease()).append(", lock-timeout = ")
            .append(cacheFactoryBean.getLockTimeout()).append(", message-sync-interval = ")
            .append(cacheFactoryBean.getMessageSyncInterval()).append(", search-timeout = ")
            .append(cacheFactoryBean.getSearchTimeout()).append("}");

    System.out.printf("Initialized CacheFactoryBean Settings: %1$s%n", buffer);
}