public interface RedisCallback<T>
RedisTemplateexecution methods, often as anonymous classes within a method implementation. Usually, used for chaining several operations together (
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-2015–2016 Pivotal Software, Inc.. All rights reserved.