8517fdfc2d934bc4bd1254dcd983e02b3ef4f5e8
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move And Rename Method | 1 | ||
| Move And Rename Method protected enqueuePermit(permit ThrottlePermit, exchange Exchange, delayQueue DelayQueue<ThrottlePermit>) : void from class org.apache.camel.processor.Throttler to public enqueue(permit ThrottlePermit, exchange Exchange) : void from class org.apache.camel.processor.Throttler.ThrottlingState | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type asyncExecutor : ExecutorService to asyncExecutor : ScheduledExecutorService in method public Throttler(camelContext CamelContext, processor Processor, maxRequestsPerPeriodExpression Expression, timePeriodMillis long, asyncExecutor ScheduledExecutorService, shutdownAsyncExecutor boolean, rejectExecution boolean, correlation Expression) in class org.apache.camel.processor.Throttler | From | To | |
| Move Method | 2 | ||
| Move Method protected calculateAndSetMaxRequestsPerPeriod(delayQueue DelayQueue<ThrottlePermit>, exchange Exchange, key Integer) : void from class org.apache.camel.processor.Throttler to public calculateAndSetMaxRequestsPerPeriod(exchange Exchange) : void from class org.apache.camel.processor.Throttler.ThrottlingState | From | To | |
| Move Method protected calculateAndSetMaxRequestsPerPeriod(exchange Exchange) : void from class org.apache.camel.processor.Throttler to public calculateAndSetMaxRequestsPerPeriod(exchange Exchange) : void from class org.apache.camel.processor.Throttler.ThrottlingState | From | To | |
| Move Attribute | 1 | ||
| Move Attribute private delayQueue : DelayQueue<ThrottlePermit> from class org.apache.camel.processor.Throttler to private delayQueue : DelayQueue<ThrottlePermit> from class org.apache.camel.processor.Throttler.ThrottlingState | From | To | |
| Extract Class | 1 | ||
| Extract Class org.apache.camel.processor.Throttler.ThrottlingState from class org.apache.camel.processor.Throttler | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute throttleRatesMap : Map<Integer,Integer> to states : Map<String,ThrottlingState> in class org.apache.camel.processor.Throttler | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type asyncExecutor : ExecutorService to asyncExecutor : ScheduledExecutorService in class org.apache.camel.processor.Throttler | From | To | |
| Change Attribute Type throttleRatesMap : Map<Integer,Integer> to states : Map<String,ThrottlingState> in class org.apache.camel.processor.Throttler | From | To |