scriptFlush & scriptKill methods fixed

pull/243/head
Nikita 10 years ago
parent 5006723b31
commit be64d778e5

@ -120,7 +120,7 @@ public class RedissonScript implements RScript {
@Override @Override
public boolean scriptKill() { public boolean scriptKill() {
return scriptKill(null); return commandExecutor.get(scriptKillAsync());
} }
@Override @Override
@ -130,7 +130,7 @@ public class RedissonScript implements RScript {
@Override @Override
public Future<Boolean> scriptKillAsync() { public Future<Boolean> scriptKillAsync() {
return scriptKillAsync(null); return commandExecutor.writeAllAsync(RedisCommands.SCRIPT_KILL);
} }
@Override @Override
@ -150,7 +150,7 @@ public class RedissonScript implements RScript {
@Override @Override
public boolean scriptFlush() { public boolean scriptFlush() {
return scriptFlush(null); return commandExecutor.get(scriptFlushAsync());
} }
@Override @Override
@ -160,7 +160,7 @@ public class RedissonScript implements RScript {
@Override @Override
public Future<Boolean> scriptFlushAsync() { public Future<Boolean> scriptFlushAsync() {
return scriptFlushAsync(null); return commandExecutor.writeAllAsync(RedisCommands.SCRIPT_FLUSH);
} }
@Override @Override

Loading…
Cancel
Save