f7b325ee3b26d9ffb0542066936fb7e7b26289a7
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private doResponse(webSocketSessions List<WebSocketSession>, applicationName String, activeThreadCount AgentActiveThreadCountList) : void from class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler to private flush0(activeThreadCountList AgentActiveThreadCountList) : void from class com.navercorp.pinpoint.web.websocket.WebSocketResponseAggregator | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method private getAgentInfoList(applicationName String) : List<AgentInfo> moved from class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler to class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler.ActiveThreadTimerTask & inlined to public run(timeout Timeout) : void | From | To | |
Move Method | 2 | ||
Move Method private makeResponseMessage(applicationName String, activeThreadCount AgentActiveThreadCountList) : String from class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler to private makeResponseMessage(applicationName String, activeThreadCount AgentActiveThreadCountList) : String from class com.navercorp.pinpoint.web.websocket.WebSocketResponseAggregator | From | To | |
Move Method private createEmptyJsonMessage(applicationName String) : String from class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler to private createEmptyJsonMessage(applicationName String) : String from class com.navercorp.pinpoint.web.websocket.WebSocketResponseAggregator | From | To | |
Change Return Type | 1 | ||
Change Return Type short to StreamCode in method public streamCommandService(tBase TBase, streamChannelContext ServerStreamChannelContext) : StreamCode in class com.navercorp.pinpoint.profiler.receiver.ProfilerStreamCommandService | From | To | |
Extract Class | 1 | ||
Extract Class com.navercorp.pinpoint.web.websocket.WebSocketResponseAggregator from class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler | From | To | |
Extract Method | 1 | ||
Extract Method private getActiveThreadCountResponse() : TCmdActiveThreadCountRes extracted from public requestCommandService(tBase TBase) : TBase<?,?> in class com.navercorp.pinpoint.profiler.receiver.service.ActiveThreadCountService | From | To | |
Rename Parameter | 3 | ||
Rename Parameter session : WebSocketSession to webSocketSession : WebSocketSession in method protected handleTextMessage(webSocketSession WebSocketSession, message TextMessage) : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler | From | To | |
Rename Parameter activeThreadCount : AgentActiveThreadCountList to activeThreadCountList : AgentActiveThreadCountList in method private flush0(activeThreadCountList AgentActiveThreadCountList) : void in class com.navercorp.pinpoint.web.websocket.WebSocketResponseAggregator | From | To | |
Rename Parameter tBase : TBase to activeThreadCountObject : TBase in method public requestCommandService(activeThreadCountObject TBase) : TBase<?,?> in class com.navercorp.pinpoint.profiler.receiver.service.ActiveThreadCountService | From | To |