List of usage examples for org.springframework.data.redis.core RedisOperations delete
@Nullable Long delete(Collection<K> keys);
From source file:locksdemo.RedisLockServiceTests.java
@Before public void init() { super.init(); RedisOperations<String, String> template = RedisUtils.stringTemplate(server.getResource()); template.delete("spring.lock.foo"); template.delete("spring.lock.bar"); }