ec6190a737372cc7dc84703cbce95609f718f758
Files Diff
- Added: 8
- Removed: 8
- Renamed: 0
- Modified: 31
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type context : RaftServerServiceContext to context : DefaultServiceContext in method public RaftSessionContext(sessionId SessionId, member MemberId, name String, serviceType ServiceType, readConsistency ReadConsistency, timeout long, context DefaultServiceContext, server RaftServerContext) in class io.atomix.protocols.raft.session.impl.RaftSessionContext | From | To | |
Change Return Type | 1 | ||
Change Return Type RaftServerServiceContext to DefaultServiceContext in method public getStateMachineContext() : DefaultServiceContext in class io.atomix.protocols.raft.session.impl.RaftSessionContext | From | To | |
Move And Rename Class | 2 | ||
Move And Rename Class io.atomix.protocols.raft.impl.RaftServerServiceContext moved and renamed to io.atomix.protocols.raft.service.impl.DefaultServiceContext | From | To | |
Move And Rename Class io.atomix.protocols.raft.impl.RaftServerStateMachineSessions moved and renamed to io.atomix.protocols.raft.service.impl.DefaultServiceSessions | From | To | |
Move Class | 6 | ||
Move Class io.atomix.protocols.raft.ServiceId moved to io.atomix.protocols.raft.service.ServiceId | From | To | |
Move Class io.atomix.protocols.raft.ServiceType moved to io.atomix.protocols.raft.service.ServiceType | From | To | |
Move Class io.atomix.protocols.raft.impl.DefaultServiceType moved to io.atomix.protocols.raft.service.impl.DefaultServiceType | From | To | |
Move Class io.atomix.protocols.raft.ServiceContext moved to io.atomix.protocols.raft.service.ServiceContext | From | To | |
Move Class io.atomix.protocols.raft.AbstractRaftService moved to io.atomix.protocols.raft.service.AbstractRaftService | From | To | |
Move Class io.atomix.protocols.raft.RaftService moved to io.atomix.protocols.raft.service.RaftService | From | To | |
Change Variable Type | 3 | ||
Change Variable Type stateMachineExecutor : RaftServerServiceContext to stateMachineExecutor : DefaultServiceContext in method private applyOpenSession(entry Indexed<OpenSessionEntry>) : CompletableFuture<Long> in class io.atomix.protocols.raft.impl.RaftServerStateMachineManager | From | To | |
Change Variable Type stateMachineExecutor : RaftServerServiceContext to stateMachineExecutor : DefaultServiceContext in method private applyCloseSession(entry Indexed<CloseSessionEntry>) : CompletableFuture<Void> in class io.atomix.protocols.raft.impl.RaftServerStateMachineManager | From | To | |
Change Variable Type stateMachineExecutor : RaftServerServiceContext to stateMachineExecutor : DefaultServiceContext in method private compactLog() : void in class io.atomix.protocols.raft.impl.RaftServerStateMachineManager | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type sessions : RaftServerStateMachineSessions to sessions : DefaultServiceSessions in class io.atomix.protocols.raft.service.impl.DefaultServiceContext | From | To | |
Change Attribute Type stateMachines : Map<String,RaftServerServiceContext> to stateMachines : Map<String,DefaultServiceContext> in class io.atomix.protocols.raft.impl.RaftServerStateMachineManager | From | To | |
Change Attribute Type context : RaftServerServiceContext to context : DefaultServiceContext in class io.atomix.protocols.raft.session.impl.RaftSessionContext | From | To |