a833373a6fa45dcdb40d606c19994e6b096a42d6
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 3 | ||
Move And Rename Method public DefaultEventLog(config EventLogConfig, cluster ClusterConfig, executor Executor) from class net.kuujo.copycat.event.internal.DefaultEventLog to public EventLog(config EventLogConfig, cluster ClusterConfig, executor Executor) from class net.kuujo.copycat.event.EventLog | From | To | |
Move And Rename Method public DefaultEventLog(config EventLogConfig, cluster ClusterConfig) from class net.kuujo.copycat.event.internal.DefaultEventLog to public EventLog(config EventLogConfig, cluster ClusterConfig) from class net.kuujo.copycat.event.EventLog | From | To | |
Move And Rename Method public DefaultEventLog(context ResourceContext) from class net.kuujo.copycat.event.internal.DefaultEventLog to public EventLog(context ResourceContext) from class net.kuujo.copycat.event.EventLog | From | To | |
Move Method | 7 | ||
Move Method private commit(term long, index Long, entry ByteBuffer) : ByteBuffer from class net.kuujo.copycat.event.internal.DefaultEventLog to private commit(term long, index Long, entry ByteBuffer) : ByteBuffer from class net.kuujo.copycat.event.EventLog | From | To | |
Move Method public commit(entry T) : CompletableFuture<Long> from class net.kuujo.copycat.event.internal.DefaultEventLog to public commit(entry T) : CompletableFuture<Long> from class net.kuujo.copycat.event.EventLog | From | To | |
Move Method public consumer(consumer EventListener<T>) : EventLog<T> from class net.kuujo.copycat.event.internal.DefaultEventLog to public consumer(consumer EventListener<T>) : EventLog<T> from class net.kuujo.copycat.event.EventLog | From | To | |
Move Method private compact() : void from class net.kuujo.copycat.event.internal.DefaultEventLog to private compact() : void from class net.kuujo.copycat.event.EventLog | From | To | |
Move Method public get(index long) : CompletableFuture<T> from class net.kuujo.copycat.event.internal.DefaultEventLog to public get(index long) : CompletableFuture<T> from class net.kuujo.copycat.event.EventLog | From | To | |
Move Method public open() : CompletableFuture<EventLog<T>> from class net.kuujo.copycat.event.internal.DefaultEventLog to public open() : CompletableFuture<EventLog<T>> from class net.kuujo.copycat.event.EventLog | From | To | |
Move Method public close() : CompletableFuture<Void> from class net.kuujo.copycat.event.internal.DefaultEventLog to public close() : CompletableFuture<Void> from class net.kuujo.copycat.event.EventLog | From | To | |
Move Attribute | 3 | ||
Move Attribute private retentionFuture : ScheduledFuture<?> from class net.kuujo.copycat.event.internal.DefaultEventLog to private retentionFuture : ScheduledFuture<?> from class net.kuujo.copycat.event.EventLog | From | To | |
Move Attribute private commitIndex : Long from class net.kuujo.copycat.event.internal.DefaultEventLog to private commitIndex : Long from class net.kuujo.copycat.event.EventLog | From | To | |
Move Attribute private consumer : EventListener<T> from class net.kuujo.copycat.event.internal.DefaultEventLog to private consumer : EventListener<T> from class net.kuujo.copycat.event.EventLog | From | To |