3ff5b7fcf110d0c34207ddbac2fa211f20dc4b12
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type clusterClient : ClusterClient to invalidEpochHandler : InvalidEpochExceptionHandler in method public MasterClientResolver(logging Logging, invalidEpochHandler InvalidEpochExceptionHandler, readTimeout int, lockReadTimeout int, channels int, chunkSize int) in class org.neo4j.kernel.ha.com.slave.MasterClientResolver | From | To | |
Change Parameter Type clusterClient : ClusterClient to masterClientResolver : MasterClientResolver in method public SwitchToSlave(console ConsoleLogger, config Config, resolver DependencyResolver, idGeneratorFactory HaIdGeneratorFactory, logging Logging, masterDelegateHandler DelegateInvocationHandler<Master>, clusterMemberAvailability ClusterMemberAvailability, requestContextFactory RequestContextFactory, masterClientResolver MasterClientResolver) in class org.neo4j.kernel.ha.cluster.SwitchToSlave | From | To | |
Move Method | 1 | ||
Move Method public handle(exception ComException) : void from class org.neo4j.kernel.ha.com.slave.MasterClientResolver.MismatchingProtocolVersionHandler to public handle(exception ComException) : void from class org.neo4j.kernel.ha.com.slave.MasterClientResolver | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute handler : ComExceptionHandler to comExceptionHandler : ComExceptionHandler in method protected sendRequest(type RequestType<T>, context RequestContext, serializer Serializer, deserializer Deserializer<R>, specificStoreId StoreId) : Response<R> in class org.neo4j.com.Client | From | To | |
Rename Attribute | 1 | ||
Rename Attribute clusterClient : ClusterClient to invalidEpochHandler : InvalidEpochExceptionHandler in class org.neo4j.kernel.ha.com.slave.MasterClientResolver | From | To | |
Extract Variable | 2 | ||
Extract Variable switchToMaster : SwitchToMaster in method protected createIdGeneratorFactory() : IdGeneratorFactory from class org.neo4j.kernel.ha.HighlyAvailableGraphDatabase | From | To | |
Extract Variable switchToSlave : SwitchToSlave in method protected createIdGeneratorFactory() : IdGeneratorFactory from class org.neo4j.kernel.ha.HighlyAvailableGraphDatabase | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type clusterClient : ClusterClient to invalidEpochHandler : InvalidEpochExceptionHandler in class org.neo4j.kernel.ha.com.slave.MasterClientResolver | From | To | |
Extract Method | 1 | ||
Extract Method package createExecutor() : ScheduledExecutorService extracted from public init() : void in class org.neo4j.kernel.ha.cluster.HighAvailabilityModeSwitcher | From | To | |
Rename Parameter | 2 | ||
Rename Parameter clusterClient : ClusterClient to invalidEpochHandler : InvalidEpochExceptionHandler in method public MasterClientResolver(logging Logging, invalidEpochHandler InvalidEpochExceptionHandler, readTimeout int, lockReadTimeout int, channels int, chunkSize int) in class org.neo4j.kernel.ha.com.slave.MasterClientResolver | From | To | |
Rename Parameter clusterClient : ClusterClient to masterClientResolver : MasterClientResolver in method public SwitchToSlave(console ConsoleLogger, config Config, resolver DependencyResolver, idGeneratorFactory HaIdGeneratorFactory, logging Logging, masterDelegateHandler DelegateInvocationHandler<Master>, clusterMemberAvailability ClusterMemberAvailability, requestContextFactory RequestContextFactory, masterClientResolver MasterClientResolver) in class org.neo4j.kernel.ha.cluster.SwitchToSlave | From | To |