057fa83f396d2aabaffc93f8cd5a2051ea40dd11
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Push Down Method | 2 | ||
| Push Down Method public commit(key K, entry V) : CompletableFuture<Long> from class net.kuujo.copycat.event.EventLog to public commit(key K, value V) : CompletableFuture<Long> from class net.kuujo.copycat.event.DiscreteEventLog | From | To | |
| Push Down Method public consumer(consumer EventConsumer<K,V>) : EventLog<K,V> from class net.kuujo.copycat.event.EventLog to public consumer(consumer EventConsumer<K,V>) : EventLog<K,V> from class net.kuujo.copycat.event.DiscreteEventLog | From | To | |
| Move And Rename Method | 1 | ||
| Move And Rename Method private EventLogConfig(config EventLogConfig) from class net.kuujo.copycat.event.EventLogConfig to public DiscreteEventLog(config EventLogConfig) from class net.kuujo.copycat.event.DiscreteEventLog | From | To | |
| Extract Subclass | 1 | ||
| Extract Subclass net.kuujo.copycat.event.DiscreteEventLog from class net.kuujo.copycat.event.EventLog | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type config : PartitionConfig to config : DiscreteResourceConfig in method protected Builder(config DiscreteResourceConfig) in class net.kuujo.copycat.resource.Partition.Builder | From | To | |
| Move Method | 1 | ||
| Move Method private commit(key Buffer, entry Buffer, result Buffer) : Buffer from class net.kuujo.copycat.event.EventLogPartition to protected commit(key Buffer, entry Buffer, result Buffer) : Buffer from class net.kuujo.copycat.event.DiscreteEventLog | From | To | |
| Change Return Type | 1 | ||
| Change Return Type EventLogPartition<K,V> to EventLog<K,V> in method public consumer(consumer EventConsumer<K,V>) : EventLog<K,V> in class net.kuujo.copycat.event.EventLogPartition | From | To | |
| Move Attribute | 2 | ||
| Move Attribute private consumer : EventConsumer<K,V> from class net.kuujo.copycat.event.EventLogPartition to private consumer : EventConsumer<K,V> from class net.kuujo.copycat.event.DiscreteEventLog | From | To | |
| Move Attribute private bufferPool : ReferencePool<Buffer> from class net.kuujo.copycat.event.EventLogPartition to private bufferPool : ReferencePool<Buffer> from class net.kuujo.copycat.event.DiscreteEventLog | From | To | |
| Extract Class | 1 | ||
| Extract Class net.kuujo.copycat.event.DiscreteEventLog from class net.kuujo.copycat.event.EventLogPartition | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type config : PartitionConfig to config : DiscreteResourceConfig in class net.kuujo.copycat.resource.Partition.Builder | From | To | |
| Rename Parameter | 4 | ||
| Rename Parameter entry : V to value : V in method public commit(key K, value V) : CompletableFuture<Long> in class net.kuujo.copycat.event.DiscreteEventLog | From | To | |
| Rename Parameter entry : V to value : V in method public commit(key K, value V) : CompletableFuture<Long> in class net.kuujo.copycat.event.EventLog | From | To | |
| Rename Parameter entry : V to value : V in method public commit(key K, value V) : CompletableFuture<Long> in class net.kuujo.copycat.event.EventLogPartition | From | To | |
| Rename Parameter entry : V to value : V in method public commit(value V) : CompletableFuture<Long> in class net.kuujo.copycat.event.EventLog | From | To |