696098a9e2af094e2a9c96dc277644fda9ee375d
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private migratePartitions(oldPartitions List<List<GroupMember>>, newPartitions List<List<GroupMember>>) : void renamed to private migratePartitionMembers(oldPartitions List<List<GroupMember>>, newPartitions List<List<GroupMember>>) : void in class io.atomix.group.PartitionGroup | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type callback : Consumer<GroupMember> to callback : Consumer<GroupTerm> in method public onElection(callback Consumer<GroupTerm>) : Listener<GroupTerm> in class io.atomix.group.GroupElection | From | To | |
Change Parameter Type group : MembershipGroup to group : DistributedGroup in method protected GroupElection(group DistributedGroup) in class io.atomix.group.GroupElection | From | To | |
Rename Variable | 1 | ||
Rename Variable child : SubGroup to subGroup : SubGroup in method protected onLeave(member GroupMember) : void in class io.atomix.group.PartitionGroup | From | To | |
Change Return Type | 2 | ||
Change Return Type long to GroupTerm in method public term() : GroupTerm in class io.atomix.group.GroupElection | From | To | |
Change Return Type Listener<GroupMember> to Listener<GroupTerm> in method public onElection(callback Consumer<GroupTerm>) : Listener<GroupTerm> in class io.atomix.group.GroupElection | From | To | |
Move Attribute | 1 | ||
Move Attribute private term : long from class io.atomix.group.state.GroupState to private term : long from class io.atomix.group.GroupTerm | From | To | |
Replace Variable With Attribute | 3 | ||
Replace Variable With Attribute child : SubGroup to election : GroupElection in method protected onJoin(member GroupMember) : void in class io.atomix.group.PartitionGroup | From | To | |
Replace Variable With Attribute child : SubGroup to election : GroupElection in method private onJoinEvent(info GroupMemberInfo) : void in class io.atomix.group.MembershipGroup | From | To | |
Replace Variable With Attribute child : SubGroup to election : GroupElection in method private onLeaveEvent(memberId String) : void in class io.atomix.group.MembershipGroup | From | To | |
Change Variable Type | 2 | ||
Change Variable Type child : SubGroup to election : GroupElection in method private onJoinEvent(info GroupMemberInfo) : void in class io.atomix.group.MembershipGroup | From | To | |
Change Variable Type child : SubGroup to election : GroupElection in method private onLeaveEvent(memberId String) : void in class io.atomix.group.MembershipGroup | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type group : MembershipGroup to group : DistributedGroup in class io.atomix.group.GroupElection | From | To | |
Change Attribute Type term : long to term : GroupTerm in class io.atomix.group.GroupElection | From | To | |
Change Attribute Type electionListeners : Listeners<GroupMember> to electionListeners : Listeners<GroupTerm> in class io.atomix.group.GroupElection | From | To | |
Rename Parameter | 2 | ||
Rename Parameter level : int to parent : int in method package hashCode(parent int, partitions int, replicationFactor int, partitioner GroupPartitioner) : int in class io.atomix.group.PartitionGroup | From | To | |
Rename Parameter level : int to parent : int in method package hashCode(parent int, hasher Hasher, virtualNodes int) : int in class io.atomix.group.ConsistentHashGroup | From | To |