f9d51b67e45f1f213c37b14bfe96e442bc71a995
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 3 | ||
Pull Up Method protected enablePeer(env MasterProcedureEnv) : void from class org.apache.hadoop.hbase.master.replication.ModifyPeerProcedure to protected enablePeer(env MasterProcedureEnv) : void from class org.apache.hadoop.hbase.master.replication.AbstractPeerProcedure | From | To | |
Pull Up Method private suspend(backoff long) : ProcedureSuspendedException from class org.apache.hadoop.hbase.master.replication.ModifyPeerProcedure to protected suspend(backoff long) : ProcedureSuspendedException from class org.apache.hadoop.hbase.master.replication.AbstractPeerProcedure | From | To | |
Pull Up Method protected setTimeoutFailure(env MasterProcedureEnv) : boolean from class org.apache.hadoop.hbase.master.replication.ModifyPeerProcedure to protected setTimeoutFailure(env MasterProcedureEnv) : boolean from class org.apache.hadoop.hbase.master.replication.AbstractPeerProcedure | From | To | |
Move And Rename Attribute | 1 | ||
Move And Rename Attribute private attemps : int renamed to protected attempts : int and moved from class org.apache.hadoop.hbase.master.replication.ModifyPeerProcedure to class org.apache.hadoop.hbase.master.replication.AbstractPeerProcedure | From | To | |
Extract Method | 3 | ||
Extract Method protected transitPeerSyncReplicationState(env MasterProcedureEnv) : void extracted from protected executeFromState(env MasterProcedureEnv, state PeerSyncReplicationStateTransitionState) : Flow in class org.apache.hadoop.hbase.master.replication.TransitPeerSyncReplicationStateProcedure | From | To | |
Extract Method protected setPeerNewSyncReplicationState(env MasterProcedureEnv) : void extracted from protected executeFromState(env MasterProcedureEnv, state PeerSyncReplicationStateTransitionState) : Flow in class org.apache.hadoop.hbase.master.replication.TransitPeerSyncReplicationStateProcedure | From | To | |
Extract Method protected removeAllReplicationQueues(env MasterProcedureEnv) : void extracted from protected executeFromState(env MasterProcedureEnv, state PeerSyncReplicationStateTransitionState) : Flow in class org.apache.hadoop.hbase.master.replication.TransitPeerSyncReplicationStateProcedure | From | To |