3e0010846146ef141b5ea4f545402bc853446213
Files Diff
- Added: 3
- Removed: 3
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public addStateMachine(type String, factory Supplier<RaftService>) : Builder renamed to public addService(type String, factory Supplier<RaftService>) : Builder in class io.atomix.protocols.raft.RaftServer.Builder | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type registry : RaftStateMachineRegistry to registry : RaftServiceRegistry in method public RaftServerContext(name String, type RaftMember.Type, localMemberId MemberId, protocol RaftServerProtocol, storage RaftStorage, registry RaftServiceRegistry, threadPoolSize int) in class io.atomix.protocols.raft.impl.RaftServerContext | From | To | |
Change Return Type | 5 | ||
Change Return Type RaftStateMachineRegistry to RaftServiceRegistry in method public unregister(type String) : RaftServiceRegistry in class io.atomix.protocols.raft.impl.RaftServiceRegistry | From | To | |
Change Return Type RaftStateMachineRegistry to RaftServiceRegistry in method public register(type String, factory Supplier<RaftService>) : RaftServiceRegistry in class io.atomix.protocols.raft.impl.RaftServiceRegistry | From | To | |
Change Return Type CompletableFuture<RaftMetadataResult> to CompletableFuture<MetadataResult> in method private applyMetadata(entry Indexed<MetadataEntry>) : CompletableFuture<MetadataResult> in class io.atomix.protocols.raft.impl.RaftServiceManager | From | To | |
Change Return Type RaftServerStateMachineManager to RaftServiceManager in method public getStateMachine() : RaftServiceManager in class io.atomix.protocols.raft.impl.RaftServerContext | From | To | |
Change Return Type RaftStateMachineRegistry to RaftServiceRegistry in method public getStateMachineRegistry() : RaftServiceRegistry in class io.atomix.protocols.raft.impl.RaftServerContext | From | To | |
Rename Class | 3 | ||
Rename Class io.atomix.protocols.raft.impl.RaftServerStateMachineManager renamed to io.atomix.protocols.raft.impl.RaftServiceManager | From | To | |
Rename Class io.atomix.protocols.raft.impl.RaftStateMachineRegistry renamed to io.atomix.protocols.raft.impl.RaftServiceRegistry | From | To | |
Rename Class io.atomix.protocols.raft.impl.RaftMetadataResult renamed to io.atomix.protocols.raft.impl.MetadataResult | From | To | |
Rename Attribute | 1 | ||
Rename Attribute stateMachineRegistry : RaftStateMachineRegistry to serviceRegistry : RaftServiceRegistry in class io.atomix.protocols.raft.RaftServer.Builder | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type stateMachine : RaftServerStateMachineManager to stateMachine : RaftServiceManager in class io.atomix.protocols.raft.impl.RaftServerContext | From | To | |
Change Attribute Type stateMachineRegistry : RaftStateMachineRegistry to serviceRegistry : RaftServiceRegistry in class io.atomix.protocols.raft.RaftServer.Builder | From | To | |
Change Attribute Type registry : RaftStateMachineRegistry to registry : RaftServiceRegistry in class io.atomix.protocols.raft.impl.RaftServerContext | From | To |