Example usage for org.springframework.data.redis.core BoundHashOperations size

List of usage examples for org.springframework.data.redis.core BoundHashOperations size

Introduction

In this page you can find the example usage for org.springframework.data.redis.core BoundHashOperations size.

Prototype

@Nullable
Long size();

Source Link

Document

Get size of hash at the bound key.

Usage

From source file:com.chessix.vas.service.RedisStorage.java

@Override
public Long size(final String clasId) {
    final BoundHashOperations<String, Object, Object> ops = redisTemplate.boundHashOps(clasId);
    return ops.size();
}