551165b6bc3afadfcdd9c8b3b6b374445739e0de
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 7 | ||
Change Parameter Type raftServer : RaftServer to mismatchedStoreIdService : MismatchedStoreIdService in method public MembershipWaiter(myself CoreMember, jobScheduler JobScheduler, maxCatchupLag long, mismatchedStoreIdService MismatchedStoreIdService, logProvider LogProvider) in class org.neo4j.coreedge.raft.membership.MembershipWaiter | From | To | |
Change Parameter Type message : RaftMessage to message : RaftMessages.StoreIdAwareMessage in method public handle(message RaftMessages.StoreIdAwareMessage) : void in class org.neo4j.coreedge.raft.BatchingMessageHandler | From | To | |
Change Parameter Type ex : MismatchedStoreIdException to ex : BatchingMessageHandler.MismatchedStoreIdException in method public onMismatchedStore(ex BatchingMessageHandler.MismatchedStoreIdException) : void in class org.neo4j.coreedge.raft.MismatchedStoreIdService.MismatchedStoreListener | From | To | |
Change Parameter Type batch : List<RaftMessage> to batch : List<RaftMessages.RaftMessage> in method private collateAndHandleBatch(batch List<RaftMessages.RaftMessage>) : void in class org.neo4j.coreedge.raft.BatchingMessageHandler | From | To | |
Change Parameter Type listener : MismatchedStoreListener to listener : BatchingMessageHandler.MismatchedStoreListener in method public addMismatchedStoreListener(listener BatchingMessageHandler.MismatchedStoreListener) : void in class org.neo4j.coreedge.raft.BatchingMessageHandler | From | To | |
Change Parameter Type ex : RaftServer.MismatchedStoreIdException to ex : BatchingMessageHandler.MismatchedStoreIdException in method public onMismatchedStore(ex BatchingMessageHandler.MismatchedStoreIdException) : void in class org.neo4j.coreedge.raft.membership.MembershipWaiter.Evaluator | From | To | |
Change Parameter Type handler : Inbound.MessageHandler<RaftMessages.RaftMessage> to handler : Inbound.MessageHandler<RaftMessages.StoreIdAwareMessage> in method public registerHandler(handler Inbound.MessageHandler<RaftMessages.StoreIdAwareMessage>) : void in class org.neo4j.coreedge.raft.RaftServer | From | To | |
Move Method | 1 | ||
Move Method public addMismatchedStoreListener(listener MismatchedStoreListener) : void from class org.neo4j.coreedge.raft.RaftServer to public addMismatchedStoreListener(listener BatchingMessageHandler.MismatchedStoreListener) : void from class org.neo4j.coreedge.raft.BatchingMessageHandler | From | To | |
Move Class | 2 | ||
Move Class org.neo4j.coreedge.raft.RaftServer.MismatchedStoreIdException moved to org.neo4j.coreedge.raft.MismatchedStoreIdService.MismatchedStoreIdException | From | To | |
Move Class org.neo4j.coreedge.raft.RaftServer.MismatchedStoreListener moved to org.neo4j.coreedge.raft.MismatchedStoreIdService.MismatchedStoreListener | From | To | |
Rename Attribute | 1 | ||
Rename Attribute raftServer : RaftServer to mismatchedStoreIdService : MismatchedStoreIdService in class org.neo4j.coreedge.raft.membership.MembershipWaiter | From | To | |
Change Variable Type | 2 | ||
Change Variable Type message : RaftMessage to message : RaftMessages.StoreIdAwareMessage in method public run() : void in class org.neo4j.coreedge.raft.BatchingMessageHandler | From | To | |
Change Variable Type message : RaftMessage to message : RaftMessages.RaftMessage in method private collateAndHandleBatch(batch List<RaftMessages.RaftMessage>) : void in class org.neo4j.coreedge.raft.BatchingMessageHandler | From | To | |
Extract Method | 1 | ||
Extract Method private drain(messageQueue BlockingQueue<RaftMessages.StoreIdAwareMessage>, batch List<RaftMessage>, maxElements int) : void extracted from public run() : void in class org.neo4j.coreedge.raft.BatchingMessageHandler | From | To | |
Change Attribute Type | 5 | ||
Change Attribute Type batch : List<RaftMessage> to batch : List<RaftMessages.RaftMessage> in class org.neo4j.coreedge.raft.BatchingMessageHandler | From | To | |
Change Attribute Type messageQueue : BlockingQueue<RaftMessage> to messageQueue : BlockingQueue<RaftMessages.StoreIdAwareMessage> in class org.neo4j.coreedge.raft.BatchingMessageHandler | From | To | |
Change Attribute Type listeners : List<MismatchedStoreListener> to listeners : List<BatchingMessageHandler.MismatchedStoreListener> in class org.neo4j.coreedge.raft.RaftServer | From | To | |
Change Attribute Type messageHandler : MessageHandler<RaftMessages.RaftMessage> to messageHandler : MessageHandler<RaftMessages.StoreIdAwareMessage> in class org.neo4j.coreedge.raft.RaftServer | From | To | |
Change Attribute Type raftServer : RaftServer to mismatchedStoreIdService : MismatchedStoreIdService in class org.neo4j.coreedge.raft.membership.MembershipWaiter | From | To | |
Rename Parameter | 1 | ||
Rename Parameter raftServer : RaftServer to mismatchedStoreIdService : MismatchedStoreIdService in method public MembershipWaiter(myself CoreMember, jobScheduler JobScheduler, maxCatchupLag long, mismatchedStoreIdService MismatchedStoreIdService, logProvider LogProvider) in class org.neo4j.coreedge.raft.membership.MembershipWaiter | From | To |