refactoring

pull/6394/head
Nikita Koksharov 2 weeks ago
parent 597d604a37
commit 8571e8c55f

@ -26,7 +26,7 @@ import org.redisson.command.CommandAsyncExecutor;
* @author Nikita Koksharov * @author Nikita Koksharov
* *
*/ */
public class WriteBehindService { public final class WriteBehindService {
private final ConcurrentMap<String, MapWriteBehindTask> tasks = new ConcurrentHashMap<>(); private final ConcurrentMap<String, MapWriteBehindTask> tasks = new ConcurrentHashMap<>();
private final CommandAsyncExecutor executor; private final CommandAsyncExecutor executor;

@ -31,7 +31,7 @@ import java.util.function.Supplier;
* @author Nikita Koksharov * @author Nikita Koksharov
* *
*/ */
public class EvictionScheduler { public final class EvictionScheduler {
private final Map<String, EvictionTask> tasks = new ConcurrentHashMap<>(); private final Map<String, EvictionTask> tasks = new ConcurrentHashMap<>();
private final CommandAsyncExecutor executor; private final CommandAsyncExecutor executor;

Loading…
Cancel
Save