RedissonMap.clear optimization

pull/6/head
Nikita 11 years ago
parent 5e7bd1bff9
commit 6a17d5175a

@ -72,8 +72,7 @@ public class RedissonMap<K, V> implements Map<K, V> {
@Override
public void clear() {
Object[] fields = connection.hkeys(name).toArray();
connection.hdel(name, fields);
connection.del(name);
}
@Override

Loading…
Cancel
Save