public interface RedisCallback<T>
RedisTemplateexecution methods, often as anonymous classes within a method implementation. Usually, used for chaining several operations together (
@Nullable T doInRedis(RedisConnection connection) throws DataAccessException
RedisTemplatewith an active Redis connection. Does not need to care about activating or closing the connection or handling exceptions.
connection- active Redis connection
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.