597afc6ea244d9a078c831e871119542aaf965e4
Files Diff
- Added: 2
- Removed: 2
- Renamed: 0
- Modified: 23
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type config : F to config : C in method protected AbstractPrimitiveService(config C) in class io.atomix.primitive.service.AbstractPrimitiveService | From | To | |
Change Parameter Type config : F to config : C in method protected AbstractPrimitiveService(serviceInterface Class<S>, config C) in class io.atomix.primitive.service.AbstractPrimitiveService | From | To | |
Move Method | 1 | ||
Move Method protected getSession(sessionId long) : PrimitiveSession from class io.atomix.primitive.service.AbstractPrimitiveService to public getSession(sessionId long) : PrimitiveSession from class io.atomix.protocols.raft.service.RaftSessions | From | To | |
Inline Method | 1 | ||
Inline Method private registerOperations(serviceType Class<S>) : void inlined to public AbstractAsyncPrimitiveProxy(serviceType Class<S>, proxy PrimitiveProxy, registry PrimitiveRegistry) in class io.atomix.primitive.impl.AbstractAsyncPrimitiveProxy | From | To | |
Change Return Type | 2 | ||
Change Return Type Collection<PrimitiveSession> to PrimitiveSessions in method protected getSessions() : PrimitiveSessions in class io.atomix.primitive.service.AbstractPrimitiveService | From | To | |
Change Return Type F to C in method protected getServiceConfig() : C in class io.atomix.primitive.service.AbstractPrimitiveService | From | To | |
Extract Class | 1 | ||
Extract Class io.atomix.protocols.raft.service.RaftSessions from class io.atomix.primitive.service.AbstractPrimitiveService | From | To | |
Extract Method | 1 | ||
Extract Method private init() : void extracted from public RaftServiceContext(primitiveId PrimitiveId, serviceName String, primitiveType PrimitiveType, config ServiceConfig, service PrimitiveService, raft RaftContext, threadContextFactory ThreadContextFactory) in class io.atomix.protocols.raft.service.RaftServiceContext | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type sessions : Map<Long,PrimaryBackupSession> to sessions : PrimaryBackupServiceSessions in class io.atomix.protocols.backup.service.impl.PrimaryBackupServiceContext | From | To | |
Change Attribute Type sessions : RaftSessionRegistry to sessions : RaftSessions in class io.atomix.protocols.raft.service.RaftServiceContext | From | To | |
Change Attribute Type config : F to config : C in class io.atomix.primitive.service.AbstractPrimitiveService | From | To |