93db5da4d95b1c5397a6e703db6894791f621ff3
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 4 | ||
Change Parameter Type impl : OzoneManagerProtocol to impl : OzoneManagerServerProtocol in method public OzoneManagerProtocolServerSideTranslatorPB(impl OzoneManagerServerProtocol, ratisServer OzoneManagerRatisServer, ratisClient OzoneManagerRatisClient, enableRatis boolean) in class org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB | From | To | |
Change Parameter Type om : OzoneManagerProtocol to om : OzoneManager in method public newOMRatisServer(ozoneConf Configuration, om OzoneManager, omNodeDetails OMNodeDetails, peerNodes List<OMNodeDetails>) : OzoneManagerRatisServer in class org.apache.hadoop.ozone.om.ratis.OzoneManagerRatisServer | From | To | |
Change Parameter Type om : OzoneManagerProtocol to om : OzoneManagerServerProtocol in method public OzoneManagerRequestHandler(om OzoneManagerServerProtocol) in class org.apache.hadoop.ozone.protocolPB.OzoneManagerRequestHandler | From | To | |
Change Parameter Type om : OzoneManagerProtocol to om : OzoneManagerServerProtocol in method private OzoneManagerRatisServer(conf Configuration, om OzoneManagerServerProtocol, raftGroupIdStr String, localRaftPeerId RaftPeerId, addr InetSocketAddress, raftPeers List<RaftPeer>) in class org.apache.hadoop.ozone.om.ratis.OzoneManagerRatisServer | From | To | |
Change Return Type | 1 | ||
Change Return Type OzoneManagerProtocol to OzoneManagerServerProtocol in method public getOzoneManager() : OzoneManagerServerProtocol in class org.apache.hadoop.ozone.om.ratis.OzoneManagerRatisServer | From | To | |
Extract Interface | 2 | ||
Extract Interface org.apache.hadoop.ozone.protocolPB.RequestHandler from classes [org.apache.hadoop.ozone.protocolPB.OzoneManagerRequestHandler] | From | To | |
Extract Interface org.apache.hadoop.ozone.om.protocol.OzoneManagerServerProtocol from classes [org.apache.hadoop.ozone.om.OzoneManager] | From | To | |
Change Attribute Type | 5 | ||
Change Attribute Type impl : OzoneManagerProtocol to impl : OzoneManagerServerProtocol in class org.apache.hadoop.ozone.protocolPB.OzoneManagerRequestHandler | From | To | |
Change Attribute Type handler : OzoneManagerRequestHandler to handler : RequestHandler in class org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB | From | To | |
Change Attribute Type handler : OzoneManagerRequestHandler to handler : RequestHandler in class org.apache.hadoop.ozone.om.ratis.OzoneManagerStateMachine | From | To | |
Change Attribute Type ozoneManager : OzoneManagerProtocol to ozoneManager : OzoneManagerServerProtocol in class org.apache.hadoop.ozone.om.ratis.OzoneManagerRatisServer | From | To | |
Change Attribute Type ozoneManager : OzoneManagerProtocol to ozoneManager : OzoneManagerServerProtocol in class org.apache.hadoop.ozone.om.ratis.OzoneManagerStateMachine | From | To |