|
Change Return Type Function<Commit<?>,?> to Function<Commit<?>,CompletableFuture<Object>> in method private wrapOperation(method Method) : Function<Commit<?>,CompletableFuture<Object>> in class net.kuujo.copycat.raft.StateMachine |
From |
To |
|
Change Return Type BiPredicate<Commit<?>,Compaction> to BiFunction<Commit<?>,Compaction,CompletableFuture<Boolean>> in method private findFilter(type Class<? extends Command>, compaction Compaction.Type) : BiFunction<Commit<?>,Compaction,CompletableFuture<Boolean>> in class net.kuujo.copycat.raft.StateMachine |
From |
To |
|
Change Return Type Object to CompletableFuture<Object> in method protected commandResource(commit Commit<? extends ResourceOperation>) : CompletableFuture<Object> in class net.kuujo.copycat.manager.ResourceManager |
From |
To |
|
Change Return Type boolean to CompletableFuture<Boolean> in method public filter(commit Commit<? extends Command>, compaction Compaction) : CompletableFuture<Boolean> in class net.kuujo.copycat.raft.StateMachine |
From |
To |
|
Change Return Type boolean to CompletableFuture<Boolean> in method protected filterResource(commit Commit<ResourceCommand>, compaction Compaction) : CompletableFuture<Boolean> in class net.kuujo.copycat.manager.ResourceManager |
From |
To |
|
Change Return Type Function<Commit<?>,?> to OperationExecutor in method private findOperation(type Class<? extends Operation>) : OperationExecutor in class net.kuujo.copycat.raft.StateMachine |
From |
To |
|
Change Return Type Object to CompletableFuture<Object> in method public apply(commit Commit<? extends Operation>) : CompletableFuture<Object> in class net.kuujo.copycat.raft.StateMachine |
From |
To |
|
Change Variable Type filters : Map<Class<? extends Command>,BiPredicate<Commit<?>,Compaction>> to filters : Map<Class<? extends Command>,FilterExecutor> in method private findFilter(type Class<? extends Command>, compaction Compaction.Type) : BiFunction<Commit<?>,Compaction,CompletableFuture<Boolean>> in class net.kuujo.copycat.raft.StateMachine |
From |
To |
|
Change Variable Type operation : Function<Commit<?>,?> to operation : OperationExecutor in method private findOperation(type Class<? extends Operation>) : OperationExecutor in class net.kuujo.copycat.raft.StateMachine |
From |
To |
|
Change Variable Type filters : Map<Class<? extends Command>,BiPredicate<Commit<?>,Compaction>> to filters : Map<Class<? extends Command>,FilterExecutor> in method private declareFilters(method Method) : void in class net.kuujo.copycat.raft.StateMachine |
From |
To |
|
Change Variable Type resource : StateMachine to resource : ResourceHolder in method protected filterResource(commit Commit<ResourceCommand>, compaction Compaction) : CompletableFuture<Boolean> in class net.kuujo.copycat.manager.ResourceManager |
From |
To |
|
Change Variable Type filter : BiPredicate<Commit<?>,Compaction> to filter : BiFunction<Commit<?>,Compaction,CompletableFuture<Boolean>> in method private findFilter(type Class<? extends Command>, compaction Compaction.Type) : BiFunction<Commit<?>,Compaction,CompletableFuture<Boolean>> in class net.kuujo.copycat.raft.StateMachine |
From |
To |
|
Change Variable Type resource : StateMachine to resource : ResourceHolder in method protected commandResource(commit Commit<? extends ResourceOperation>) : CompletableFuture<Object> in class net.kuujo.copycat.manager.ResourceManager |
From |
To |
|
Change Variable Type entry : Map.Entry<Class<? extends Command>,BiPredicate<Commit<?>,Compaction>> to entry : Map.Entry<Class<? extends Command>,FilterExecutor> in method private findFilter(type Class<? extends Command>, compaction Compaction.Type) : BiFunction<Commit<?>,Compaction,CompletableFuture<Boolean>> in class net.kuujo.copycat.raft.StateMachine |
From |
To |
|
Change Attribute Type operations : Map<Class<? extends Operation>,Function<Commit<?>,?>> to operations : Map<Class<? extends Operation>,OperationExecutor> in class net.kuujo.copycat.raft.StateMachine |
From |
To |
|
Change Attribute Type filters : Map<Compaction.Type,Map<Class<? extends Command>,BiPredicate<Commit<?>,Compaction>>> to filters : Map<Compaction.Type,Map<Class<? extends Command>,FilterExecutor>> in class net.kuujo.copycat.raft.StateMachine |
From |
To |
|
Change Attribute Type resources : Map<Long,StateMachine> to resources : Map<Long,ResourceHolder> in class net.kuujo.copycat.manager.ResourceManager |
From |
To |
|
Change Attribute Type allOperation : Function<Commit<?>,?> to allOperation : OperationExecutor in class net.kuujo.copycat.raft.StateMachine |
From |
To |
|
Change Attribute Type allFilters : Map<Compaction.Type,BiPredicate<Commit<?>,Compaction>> to allFilters : Map<Compaction.Type,FilterExecutor> in class net.kuujo.copycat.raft.StateMachine |
From |
To |