|
|
@ -474,7 +474,9 @@ public class RedissonExecutorService implements RScheduledExecutorService {
|
|
|
|
public void shutdown() {
|
|
|
|
public void shutdown() {
|
|
|
|
queueTransferService.remove(getName());
|
|
|
|
queueTransferService.remove(getName());
|
|
|
|
remoteService.deregister(RemoteExecutorService.class);
|
|
|
|
remoteService.deregister(RemoteExecutorService.class);
|
|
|
|
workersTopic.removeListener(workersGroupListenerId);
|
|
|
|
if (workersGroupListenerId > 0) {
|
|
|
|
|
|
|
|
workersTopic.removeListener(workersGroupListenerId);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
commandExecutor.get(commandExecutor.evalWriteAsync(getName(), LongCodec.INSTANCE, RedisCommands.EVAL_VOID,
|
|
|
|
commandExecutor.get(commandExecutor.evalWriteAsync(getName(), LongCodec.INSTANCE, RedisCommands.EVAL_VOID,
|
|
|
|
"if redis.call('exists', KEYS[2]) == 0 then "
|
|
|
|
"if redis.call('exists', KEYS[2]) == 0 then "
|
|
|
|