2173d87cf4aa84937abe438d0f836c8fdd3ba1c1
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute thread : Thread to toBeSent : BlockingQueue<Pair<Integer,WritableRequest>> in method public CreditBasedFlowControl(conf ImmutableClassesGiraphConfiguration, nettyClient NettyClient, exceptionHandler Thread.UncaughtExceptionHandler) in class org.apache.giraph.comm.flow_control.CreditBasedFlowControl | From | To | |
Change Variable Type | 1 | ||
Change Variable Type thread : Thread to toBeSent : BlockingQueue<Pair<Integer,WritableRequest>> in method public CreditBasedFlowControl(conf ImmutableClassesGiraphConfiguration, nettyClient NettyClient, exceptionHandler Thread.UncaughtExceptionHandler) in class org.apache.giraph.comm.flow_control.CreditBasedFlowControl | From | To | |
Extract Variable | 1 | ||
Extract Variable maxUnsentRequests : int in method public CreditBasedFlowControl(conf ImmutableClassesGiraphConfiguration, nettyClient NettyClient, exceptionHandler Thread.UncaughtExceptionHandler) from class org.apache.giraph.comm.flow_control.CreditBasedFlowControl | From | To | |
Extract And Move Method | 3 | ||
Extract And Move Method public startThread(runnable Runnable, threadName String, handler Thread.UncaughtExceptionHandler) : Thread extracted from public MemoryEstimatorOracle(conf ImmutableClassesGiraphConfiguration, oocEngine OutOfCoreEngine) in class org.apache.giraph.ooc.policy.MemoryEstimatorOracle & moved to class org.apache.giraph.utils.ThreadUtils | From | To | |
Extract And Move Method public startThread(runnable Runnable, threadName String, handler Thread.UncaughtExceptionHandler) : Thread extracted from public CreditBasedFlowControl(conf ImmutableClassesGiraphConfiguration, nettyClient NettyClient, exceptionHandler Thread.UncaughtExceptionHandler) in class org.apache.giraph.comm.flow_control.CreditBasedFlowControl & moved to class org.apache.giraph.utils.ThreadUtils | From | To | |
Extract And Move Method public startThread(runnable Runnable, threadName String, handler Thread.UncaughtExceptionHandler) : Thread extracted from public ThresholdBasedOracle(conf ImmutableClassesGiraphConfiguration, oocEngine OutOfCoreEngine) in class org.apache.giraph.ooc.policy.ThresholdBasedOracle & moved to class org.apache.giraph.utils.ThreadUtils | From | To |