Example usage for org.springframework.integration.redis.support RedisHeaders ZSET_INCREMENT_SCORE

List of usage examples for org.springframework.integration.redis.support RedisHeaders ZSET_INCREMENT_SCORE

Introduction

In this page you can find the example usage for org.springframework.integration.redis.support RedisHeaders ZSET_INCREMENT_SCORE.

Prototype

String ZSET_INCREMENT_SCORE

To view the source code for org.springframework.integration.redis.support RedisHeaders ZSET_INCREMENT_SCORE.

Click Source Link

Usage

From source file:org.springframework.integration.redis.outbound.RedisStoreWritingMessageHandler.java

private boolean extractZsetIncrementHeader(Message<?> message) {
    if (message.getHeaders().containsKey(RedisHeaders.ZSET_INCREMENT_SCORE)) {
        return this.zsetIncrementScoreExpression.getValue(this.evaluationContext, message, Boolean.class);
    }//from   w  ww .  j a v  a  2s  .  c om
    return true;
}