Example usage for org.springframework.data.gemfire.client Interest isReceiveValues

List of usage examples for org.springframework.data.gemfire.client Interest isReceiveValues

Introduction

In this page you can find the example usage for org.springframework.data.gemfire.client Interest isReceiveValues.

Prototype

public boolean isReceiveValues() 

Source Link

Document

Returns the type of values received by the listener.

Usage

From source file:org.springframework.data.gemfire.client.ClientRegionFactoryBean.java

protected void postProcess(Region<K, V> region) {
    if (!ObjectUtils.isEmpty(interests)) {
        for (Interest<K> interest : interests) {
            if (interest instanceof RegexInterest) {
                // do the cast since it's safe
                region.registerInterestRegex((String) interest.getKey(), interest.getPolicy(),
                        interest.isDurable(), interest.isReceiveValues());
            } else {
                region.registerInterest(interest.getKey(), interest.getPolicy(), interest.isDurable(),
                        interest.isReceiveValues());
            }//from   w w  w  .  j  a v  a  2  s  .c om
        }
    }
}