ec0154069035fa3b5eaf3e3ddb27d37b3efb6194
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method private closeAggregator(webSocketSession WebSocketSession) : void renamed to private unbindingResponseAggregator(webSocketSession WebSocketSession) : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler | From | To | |
Rename Method public start() : void renamed to public active() : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountWorker | From | To | |
Rename Method private openAggregator(webSocketSession WebSocketSession) : void renamed to private bindingResponseAggregator(webSocketSession WebSocketSession, applicationName String) : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler | From | To | |
Rename Method public stop() : void renamed to public inactive() : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountWorker | From | To | |
Move And Rename Method | 2 | ||
Move And Rename Method private makeResponseMessage(applicationName String, activeThreadCount AgentActiveThreadCountList) : String from class com.navercorp.pinpoint.web.websocket.ActiveThreadCountResponseAggregator to private createResponseMessage0(activeThreadCount AgentActiveThreadCountList, timeStamp long) : String from class com.navercorp.pinpoint.web.websocket.ActiveThreadCountResponseMessageConverter | From | To | |
Move And Rename Method private createEmptyJsonMessage(applicationName String) : String from class com.navercorp.pinpoint.web.websocket.ActiveThreadCountResponseAggregator to private createEmptyResponseMessage(applicationName String, timeStamp long) : String from class com.navercorp.pinpoint.web.websocket.ActiveThreadCountResponseMessageConverter | From | To | |
Rename Variable | 4 | ||
Rename Variable response : String to responseMessage : TextMessage in method private flush0(activeThreadCountList AgentActiveThreadCountList) : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountResponseAggregator | From | To | |
Rename Variable aggregator : PinpointWebSocketResponseAggregator to responseAggregator : PinpointWebSocketResponseAggregator in method private bindingResponseAggregator(webSocketSession WebSocketSession, applicationName String) : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler | From | To | |
Rename Variable threadCountStreamListener : ActiveThreadCountWorker to activeThreadCountWorker : ActiveThreadCountWorker in method public flush() : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountResponseAggregator | From | To | |
Rename Variable aggregator : PinpointWebSocketResponseAggregator to responseAggregator : PinpointWebSocketResponseAggregator in method private unbindingResponseAggregator(webSocketSession WebSocketSession) : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler | From | To | |
Change Variable Type | 1 | ||
Change Variable Type response : String to responseMessage : TextMessage in method private flush0(activeThreadCountList AgentActiveThreadCountList) : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountResponseAggregator | From | To | |
Extract Method | 3 | ||
Extract Method private closeStreamChannel() : void extracted from public stop() : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountWorker | From | To | |
Extract Method private addAgentWorker0(agentInfo AgentInfo) : void extracted from public addWebSocketSession(webSocketSession WebSocketSession) : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountResponseAggregator | From | To | |
Extract Method private addAgentWorker0(agentInfo AgentInfo) : void extracted from public addAgent(agentInfo AgentInfo) : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountResponseAggregator | From | To |