Code cleanup

pull/411/head
Nikita 9 years ago
parent 838febf3c5
commit 7d5dd8ebc3

@ -282,7 +282,7 @@ public class RedissonKeys implements RKeys {
} }
@Override @Override
public Long count() { public long count() {
return commandExecutor.get(countAsync()); return commandExecutor.get(countAsync());
} }

@ -95,7 +95,7 @@ public interface RKeys extends RKeysAsync {
* *
* @return * @return
*/ */
Long count(); long count();
/** /**
* Delete all keys of currently selected database * Delete all keys of currently selected database

@ -35,8 +35,7 @@ import io.netty.util.concurrent.Promise;
import io.netty.util.internal.PlatformDependent; import io.netty.util.internal.PlatformDependent;
/** /**
* Guarantees multiple locks operation handling (lock, tryLock...) * Groups multiple independent locks and handles them as one lock.
* in atomic way without deadlocks.
* *
* @author Nikita Koksharov * @author Nikita Koksharov
* *

@ -39,7 +39,7 @@ public class RedissonKeysReactive implements RKeysReactive {
private final CommandReactiveService commandExecutor; private final CommandReactiveService commandExecutor;
RedissonKeys instance; private final RedissonKeys instance;
public RedissonKeysReactive(CommandReactiveService commandExecutor) { public RedissonKeysReactive(CommandReactiveService commandExecutor) {
super(); super();

Loading…
Cancel
Save