c55bd95ed4aed2789e0b1567a34541d96023ef24
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Inline Method | 2 | ||
Inline Method private getFunctionRuntimeInfoInternal(fullyQualifiedInstanceId String) : FunctionRuntimeInfo inlined to public getFunctionRuntimeInfo(fullyQualifiedInstanceId String) : FunctionRuntimeInfo in class org.apache.pulsar.functions.worker.FunctionRuntimeManager | From | To | |
Rename Variable | 1 | ||
Rename Variable functionDetails : FunctionDetails.Builder to functionDetailsBuilder : FunctionDetails.Builder in method package getRuntimeSpawner(instance Function.Instance, packageFile String) : RuntimeSpawner in class org.apache.pulsar.functions.worker.FunctionActioner | From | To | |
Extract Variable | 2 | ||
Extract Variable functionRuntimeInfo : FunctionRuntimeInfo in method private startFunctionInstance(assignment Assignment) : void from class org.apache.pulsar.functions.worker.FunctionRuntimeManager | From | To | |
Extract Variable instance : Function.Instance in method public testExternallyManagedRuntimeUpdate() : void from class org.apache.pulsar.functions.worker.FunctionRuntimeManagerTest | From | To | |
Inline Variable | 1 | ||
Inline Variable functionDetails : FunctionDetails.Builder in method public startFunction(functionRuntimeInfo FunctionRuntimeInfo) : void from class org.apache.pulsar.functions.worker.FunctionActioner | From | To | |
Extract Method | 5 | ||
Extract Method package getRuntimeSpawner(instance Function.Instance, packageFile String) : RuntimeSpawner extracted from public startFunction(functionRuntimeInfo FunctionRuntimeInfo) : void in class org.apache.pulsar.functions.worker.FunctionActioner | From | To | |
Extract Method private _getFunctionRuntimeInfo(fullyQualifiedInstanceId String) : FunctionRuntimeInfo extracted from private updateAssignment(assignment Assignment) : void in class org.apache.pulsar.functions.worker.FunctionRuntimeManager | From | To | |
Extract Method private _getFunctionRuntimeInfo(fullyQualifiedInstanceId String) : FunctionRuntimeInfo extracted from private startFunctionInstance(assignment Assignment) : void in class org.apache.pulsar.functions.worker.FunctionRuntimeManager | From | To | |
Extract Method package createInstanceConfig(functionDetails FunctionDetails, instanceId int, clusterName String) : InstanceConfig extracted from public startFunction(functionRuntimeInfo FunctionRuntimeInfo) : void in class org.apache.pulsar.functions.worker.FunctionActioner | From | To | |
Extract Method private _getFunctionRuntimeInfo(fullyQualifiedInstanceId String) : FunctionRuntimeInfo extracted from public deleteAssignment(fullyQualifiedInstanceId String) : void in class org.apache.pulsar.functions.worker.FunctionRuntimeManager | From | To |