af36ca7532087465d9fff37d1e2dc39065da9293
Files Diff
- Added: 6
- Removed: 55
- Renamed: 0
- Modified: 28
Link to commit
Third party dependencies:
| Dependency Action | |
|---|---|
| Added | |
| org.testng:testng:6.8.8 | |
| org.reflections:reflections:0.9.10 | |
| net.jodah:typetools:0.4.1 | |
| io.netty:netty-all:4.0.21.Final | |
| org.slf4j:slf4j-api:1.7.7 | |
| net.kuujo.copycat:copycat-netty:0.5.0-SNAPSHOT | |
| net.jodah:concurrentunit:0.3.2 | |
| ch.qos.logback:logback-classic:1.1.2 | |
| net.openhft:zero-allocation-hashing:0.2 |
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method protected createRemoteMember(info ManagedMember.Info) : ManagedRemoteMember renamed to protected createMember(info MemberInfo) : ManagedRemoteMember in class net.kuujo.copycat.cluster.TestCluster | From | To | |
| Rename Method public withLog(log RaftStorage) : Builder renamed to public withStorage(storage RaftStorage) : Builder in class net.kuujo.copycat.raft.Raft.Builder | From | To | |
| Push Down Method | 1 | ||
| Push Down Method public resource() : long from class net.kuujo.copycat.resource.Command to public resource() : long from class net.kuujo.copycat.resource.manager.DeleteResource | From | To | |
| Move And Rename Method | 1 | ||
| Move And Rename Method protected applyGet() : boolean from class net.kuujo.copycat.atomic.AsyncBoolean to protected get(commit Commit<Get>) : boolean from class net.kuujo.copycat.atomic.AsyncBoolean.StateMachine | From | To | |
| Change Parameter Type | 9 | ||
| Change Parameter Type log : CommitLog to protocol : Protocol in method public AsyncBoolean(protocol Protocol) in class net.kuujo.copycat.atomic.AsyncBoolean | From | To | |
| Change Parameter Type log : CommitLog to protocol : Protocol in method public AsyncMap(protocol Protocol) in class net.kuujo.copycat.collections.AsyncMap | From | To | |
| Change Parameter Type commit : Commit<Command> to commit : Commit<? extends ResourceOperation> in method protected command(commit Commit<? extends ResourceOperation>) : Object in class net.kuujo.copycat.resource.manager.ResourceManager | From | To | |
| Change Parameter Type log : CommitLog to protocol : Protocol in method public AsyncReference(protocol Protocol) in class net.kuujo.copycat.atomic.AsyncReference | From | To | |
| Change Parameter Type log : CommitLog to protocol : Protocol in method public AsyncSet(protocol Protocol) in class net.kuujo.copycat.collections.AsyncSet | From | To | |
| Change Parameter Type command : Command<R> to command : Command<T> in method protected submit(command Command<T>) : CompletableFuture<T> in class net.kuujo.copycat.resource.AbstractResource | From | To | |
| Change Parameter Type log : CommitLog to protocol : Protocol in method protected AbstractResource(protocol Protocol) in class net.kuujo.copycat.resource.AbstractResource | From | To | |
| Change Parameter Type log : CommitLog to raft : Raft in method private Copycat(raft Raft, resources Object...) in class net.kuujo.copycat.Copycat | From | To | |
| Change Parameter Type info : ManagedMember.Info to info : MemberInfo in method protected createMember(info MemberInfo) : ManagedRemoteMember in class net.kuujo.copycat.cluster.TestCluster | From | To | |
| Change Return Type | 2 | ||
| Change Return Type TestMember to TestRemoteMember in method public build() : TestRemoteMember in class net.kuujo.copycat.cluster.TestMember.Builder | From | To | |
| Change Return Type CompletableFuture<R> to CompletableFuture<T> in method protected submit(command Command<T>) : CompletableFuture<T> in class net.kuujo.copycat.resource.AbstractResource | From | To | |
| Move Attribute | 3 | ||
| Move Attribute private resource : long from class net.kuujo.copycat.resource.ResourceLog to private resource : long from class net.kuujo.copycat.resource.manager.DeleteResource | From | To | |
| Move Attribute private value : AtomicBoolean from class net.kuujo.copycat.atomic.AsyncBoolean to private value : AtomicBoolean from class net.kuujo.copycat.atomic.AsyncBoolean.StateMachine | From | To | |
| Move Attribute private protocol : Protocol from class net.kuujo.copycat.resource.manager.SystemLog to protected protocol : Protocol from class net.kuujo.copycat.resource.AbstractResource | From | To | |
| Rename Class | 1 | ||
| Rename Class net.kuujo.copycat.resource.manager.PathCommand renamed to net.kuujo.copycat.resource.manager.PathOperation | From | To | |
| Move Class | 1 | ||
| Move Class net.kuujo.copycat.protocol.Protocol moved to net.kuujo.copycat.raft.Protocol | From | To | |
| Rename Attribute | 3 | ||
| Rename Attribute log : CommitLog to protocol : Protocol in class net.kuujo.copycat.resource.AbstractResource | From | To | |
| Rename Attribute log : RaftStorage to storage : RaftStorage in class net.kuujo.copycat.raft.Raft.Builder | From | To | |
| Rename Attribute log : CommitLog to raft : Raft in class net.kuujo.copycat.Copycat | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type resource : StateMachineProxy to resource : StateMachine in method protected command(commit Commit<? extends ResourceOperation>) : Object in class net.kuujo.copycat.resource.manager.ResourceManager | From | To | |
| Change Attribute Type | 3 | ||
| Change Attribute Type log : CommitLog to raft : Raft in class net.kuujo.copycat.Copycat | From | To | |
| Change Attribute Type resources : Map<Long,StateMachineProxy> to resources : Map<Long,StateMachine> in class net.kuujo.copycat.resource.manager.ResourceManager | From | To | |
| Change Attribute Type log : CommitLog to protocol : Protocol in class net.kuujo.copycat.resource.AbstractResource | From | To | |
| Rename Parameter | 7 | ||
| Rename Parameter log : CommitLog to protocol : Protocol in method public AsyncReference(protocol Protocol) in class net.kuujo.copycat.atomic.AsyncReference | From | To | |
| Rename Parameter log : CommitLog to protocol : Protocol in method public AsyncSet(protocol Protocol) in class net.kuujo.copycat.collections.AsyncSet | From | To | |
| Rename Parameter log : RaftStorage to storage : RaftStorage in method public withStorage(storage RaftStorage) : Builder in class net.kuujo.copycat.raft.Raft.Builder | From | To | |
| Rename Parameter log : CommitLog to protocol : Protocol in method protected AbstractResource(protocol Protocol) in class net.kuujo.copycat.resource.AbstractResource | From | To | |
| Rename Parameter log : CommitLog to raft : Raft in method private Copycat(raft Raft, resources Object...) in class net.kuujo.copycat.Copycat | From | To | |
| Rename Parameter log : CommitLog to protocol : Protocol in method public AsyncBoolean(protocol Protocol) in class net.kuujo.copycat.atomic.AsyncBoolean | From | To | |
| Rename Parameter log : CommitLog to protocol : Protocol in method public AsyncMap(protocol Protocol) in class net.kuujo.copycat.collections.AsyncMap | From | To |