f5e396909ccd65f49391e6812845c518c0bd02c9
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 5 | ||
Push Down Method public getWebSocketHandlerRepository() : List<PinpointWebSocketHandler> from class com.navercorp.pinpoint.web.websocket.WebSocketHandlerManager to public getWebSocketHandlerRepository() : List<PinpointWebSocketHandler> from class com.navercorp.pinpoint.web.websocket.PinpointWebSocketHandlerManager | From | To | |
Push Down Method public register(handler PinpointWebSocketHandler) : void from class com.navercorp.pinpoint.web.websocket.WebSocketHandlerManager to public register(handler PinpointWebSocketHandler) : void from class com.navercorp.pinpoint.web.websocket.PinpointWebSocketHandlerManager | From | To | |
Push Down Method public destory() : void from class com.navercorp.pinpoint.web.websocket.WebSocketHandlerManager to public destory() : void from class com.navercorp.pinpoint.web.websocket.PinpointWebSocketHandlerManager | From | To | |
Push Down Method public getTimer() : Timer from class com.navercorp.pinpoint.web.websocket.WebSocketHandlerManager to public getTimer() : Timer from class com.navercorp.pinpoint.web.websocket.PinpointWebSocketHandlerManager | From | To | |
Push Down Method public WebSocketHandlerManager() from class com.navercorp.pinpoint.web.websocket.WebSocketHandlerManager to public PinpointWebSocketHandlerManager() from class com.navercorp.pinpoint.web.websocket.PinpointWebSocketHandlerManager | From | To | |
Extract Subclass | 1 | ||
Extract Subclass com.navercorp.pinpoint.web.websocket.PinpointWebSocketHandlerManager from class com.navercorp.pinpoint.web.websocket.WebSocketHandlerManager | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type register : WebSocketHandlerRegister to webSocketHandlerManager : WebSocketHandlerManager in method public ActiveThreadCountHandler(webSocketHandlerManager WebSocketHandlerManager, agentSerivce AgentService) in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler | From | To | |
Change Parameter Type register : WebSocketHandlerRegister to webSocketHandlerManager : WebSocketHandlerManager in method public ActiveThreadCountHandler(webSocketHandlerManager WebSocketHandlerManager, requestMapping String, agentSerivce AgentService, flushDelay long) in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler | From | To | |
Rename Variable | 1 | ||
Rename Variable r : ActiveThreadCountStreamListener to listener : ActiveThreadCountStreamListener in method private closeAggregator(webSocketSession WebSocketSession) : void in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler | From | To | |
Push Down Attribute | 4 | ||
Push Down Attribute private timer : Timer from class com.navercorp.pinpoint.web.websocket.WebSocketHandlerManager to private timer : Timer from class com.navercorp.pinpoint.web.websocket.PinpointWebSocketHandlerManager | From | To | |
Push Down Attribute private threadFactory : PinpointThreadFactory from class com.navercorp.pinpoint.web.websocket.WebSocketHandlerManager to private threadFactory : PinpointThreadFactory from class com.navercorp.pinpoint.web.websocket.PinpointWebSocketHandlerManager | From | To | |
Push Down Attribute private webSocketHandlerRepository : List<PinpointWebSocketHandler> from class com.navercorp.pinpoint.web.websocket.WebSocketHandlerManager to private webSocketHandlerRepository : List<PinpointWebSocketHandler> from class com.navercorp.pinpoint.web.websocket.PinpointWebSocketHandlerManager | From | To | |
Push Down Attribute private logger : Logger from class com.navercorp.pinpoint.web.websocket.WebSocketHandlerManager to private logger : Logger from class com.navercorp.pinpoint.web.websocket.PinpointWebSocketHandlerManager | From | To | |
Rename Attribute | 2 | ||
Rename Attribute time : long to flushDelay : long in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler | From | To | |
Rename Attribute time : long to flushDelay : long in class com.navercorp.pinpoint.profiler.receiver.service.ActiveThreadCountService | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type SERIALIZER_FACTORY : SerializerFactory<HeaderTBaseSerializer> to SERIALIZER_FACTORY : CommandHeaderTBaseSerializerFactory in class com.navercorp.pinpoint.profiler.receiver.CommandSerializer | From | To | |
Change Attribute Type handlerRepository : WebSocketHandlerManager to handlerRepository : PinpointWebSocketHandlerManager in class com.navercorp.pinpoint.web.config.WebSocketConfig | From | To | |
Change Attribute Type DESERIALIZER_FACTORY : DeserializerFactory<HeaderTBaseDeserializer> to DESERIALIZER_FACTORY : CommandHeaderTBaseDeserializerFactory in class com.navercorp.pinpoint.profiler.receiver.CommandSerializer | From | To | |
Rename Parameter | 2 | ||
Rename Parameter register : WebSocketHandlerRegister to webSocketHandlerManager : WebSocketHandlerManager in method public ActiveThreadCountHandler(webSocketHandlerManager WebSocketHandlerManager, agentSerivce AgentService) in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler | From | To | |
Rename Parameter register : WebSocketHandlerRegister to webSocketHandlerManager : WebSocketHandlerManager in method public ActiveThreadCountHandler(webSocketHandlerManager WebSocketHandlerManager, requestMapping String, agentSerivce AgentService, flushDelay long) in class com.navercorp.pinpoint.web.websocket.ActiveThreadCountHandler | From | To |