f59d29b9562a8eaa4e96fabe8e37ca16065a0942
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 44
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 10 | ||
Rename Method public onFailure(ignite Ignite, failureCtx FailureContext) : boolean renamed to protected handle(ignite Ignite, failureCtx FailureContext) : boolean in class org.apache.ignite.spi.discovery.tcp.TcpDiscoverySegmentationPolicyTest.TestFailureHandler | From | To | |
Rename Method public onFailure(ignite Ignite, failureCtx FailureContext) : boolean renamed to protected handle(ignite Ignite, failureCtx FailureContext) : boolean in class org.apache.ignite.failure.RestartProcessFailureHandler | From | To | |
Rename Method public onFailure(ignite Ignite, failureCtx FailureContext) : boolean renamed to protected handle(ignite Ignite, failureCtx FailureContext) : boolean in class org.apache.ignite.failure.TestFailureHandler | From | To | |
Rename Method public onFailure(ignite Ignite, failureCtx FailureContext) : boolean renamed to protected handle(ignite Ignite, failureCtx FailureContext) : boolean in class org.apache.ignite.failure.SystemWorkersTerminationTest.TestFailureHandler | From | To | |
Rename Method public onFailure(ignite Ignite, failureCtx FailureContext) : boolean renamed to protected handle(ignite Ignite, failureCtx FailureContext) : boolean in class org.apache.ignite.failure.NoOpFailureHandler | From | To | |
Rename Method public onFailure(ignite Ignite, failureCtx FailureContext) : boolean renamed to protected handle(ignite Ignite, failureCtx FailureContext) : boolean in class org.apache.ignite.failure.AbstractFailureHandlerTest.DummyFailureHandler | From | To | |
Rename Method public onFailure(ignite Ignite, failureCtx FailureContext) : boolean renamed to public handle(ignite Ignite, failureCtx FailureContext) : boolean in class org.apache.ignite.failure.StopNodeFailureHandler | From | To | |
Rename Method public onFailure(ignite Ignite, failureCtx FailureContext) : boolean renamed to protected handle(ignite Ignite, failureCtx FailureContext) : boolean in class org.apache.ignite.failure.StopNodeOrHaltFailureHandler | From | To | |
Rename Method public onFailure(ignite Ignite, failureCtx FailureContext) : boolean renamed to protected handle(ignite Ignite, failureCtx FailureContext) : boolean in class org.apache.ignite.spi.communication.GridCacheMessageSelfTest.TestFailureHandler | From | To | |
Rename Method public onFailure(ignite Ignite, failureCtx FailureContext) : boolean renamed to protected handle(ignite Ignite, failureCtx FailureContext) : boolean in class org.apache.ignite.internal.processors.cache.persistence.IgnitePdsCorruptedStoreTest.DummyFailureHandler | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type worker : GridWorker to worker : W in method private MessageWorkerThread(worker W, log IgniteLogger) in class org.apache.ignite.spi.discovery.tcp.ServerImpl.MessageWorkerThread | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.DiscoveryMessageNotifyerWorker renamed to org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.DiscoveryMessageNotifierWorker | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.ignite.failure.AbstractFailureHandler from classes [org.apache.ignite.failure.NoOpFailureHandler, org.apache.ignite.failure.RestartProcessFailureHandler, org.apache.ignite.failure.StopNodeFailureHandler, org.apache.ignite.failure.StopNodeOrHaltFailureHandler, org.apache.ignite.failure.AbstractFailureHandlerTest.DummyFailureHandler, org.apache.ignite.failure.SystemWorkersTerminationTest.TestFailureHandler, org.apache.ignite.failure.TestFailureHandler, org.apache.ignite.internal.processors.cache.persistence.IgnitePdsCorruptedStoreTest.DummyFailureHandler, org.apache.ignite.spi.communication.GridCacheMessageSelfTest.TestFailureHandler, org.apache.ignite.spi.discovery.tcp.TcpDiscoverySegmentationPolicyTest.TestFailureHandler] | From | To | |
Rename Attribute | 1 | ||
Rename Attribute discoNotifierWrk : DiscoveryMessageNotifyerWorker to discoNtfWrk : DiscoveryMessageNotifierWorker in class org.apache.ignite.internal.managers.discovery.GridDiscoveryManager | From | To | |
Extract Variable | 1 | ||
Extract Variable exchTimeout : long in method private body0() : void from class org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager.ExchangeWorker | From | To | |
Extract Method | 3 | ||
Extract Method private sleepEx(millis long, before Runnable, after Runnable) : void extracted from private joinTopology(prevAddr InetSocketAddress, timeout long) : T2<SocketStream,Boolean> in class org.apache.ignite.spi.discovery.tcp.ClientImpl | From | To | |
Inline Variable | 1 | ||
Inline Variable now : long in method private waitCheckpointEvent() : void from class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.Checkpointer | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type discoNotifierWrk : DiscoveryMessageNotifyerWorker to discoNtfWrk : DiscoveryMessageNotifierWorker in class org.apache.ignite.internal.managers.discovery.GridDiscoveryManager | From | To | |
Change Attribute Type worker : GridWorker to worker : W in class org.apache.ignite.spi.discovery.tcp.ServerImpl.MessageWorkerThread | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public blockingSectionBegin() : void extracted from private waitCheckpointEvent() : void in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.Checkpointer & moved to class org.apache.ignite.internal.util.worker.GridWorker | From | To | |
Extract And Move Method public blockingSectionBegin() : void extracted from private tryJoin() : void in class org.apache.ignite.spi.discovery.tcp.ClientImpl.MessageWorker & moved to class org.apache.ignite.internal.util.worker.GridWorker | From | To |