78754a514ab7cf9896c2f059dbcd904a0f4013b5
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private registerSubscriber(subscription InternalSubscription) : CompletableFuture<Subscription> from class io.atomix.cluster.messaging.impl.DefaultClusterEventingService to private addLocalSubscription(subscription InternalSubscription) : CompletableFuture<Subscription> from class io.atomix.cluster.messaging.impl.DefaultClusterEventingService.InternalTopic | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type topic : String to topic : InternalTopic in method public InternalSubscription(topic InternalTopic, callback Function<byte[],CompletableFuture<byte[]>>) in class io.atomix.cluster.messaging.impl.DefaultClusterEventingService.InternalSubscription | From | To | |
Rename Variable | 1 | ||
Rename Variable subscribers : List<SubscriptionMetadata> to topic : InternalTopic in method private getSubscriberNodes(topicName String) : Stream<NodeId> in class io.atomix.cluster.messaging.impl.DefaultClusterEventingService | From | To | |
Change Return Type | 3 | ||
Change Return Type SubscriptionMetadata to InternalSubscriptionInfo in method public next() : InternalSubscriptionInfo in class io.atomix.cluster.messaging.impl.DefaultClusterEventingService.TopicIterator | From | To | |
Change Return Type SubscriptionMetadata to InternalSubscriptionInfo in method package asTombstone() : InternalSubscriptionInfo in class io.atomix.cluster.messaging.impl.DefaultClusterEventingService.InternalSubscriptionInfo | From | To | |
Change Return Type TopicSubscribers to void in method package add(subscription InternalSubscription) : void in class io.atomix.cluster.messaging.impl.DefaultClusterEventingService.InternalSubscriber | From | To | |
Rename Class | 2 | ||
Rename Class io.atomix.cluster.messaging.impl.DefaultClusterEventingService.TopicSubscribers renamed to io.atomix.cluster.messaging.impl.DefaultClusterEventingService.InternalSubscriber | From | To | |
Rename Class io.atomix.cluster.messaging.impl.DefaultClusterEventingService.SubscriptionMetadata renamed to io.atomix.cluster.messaging.impl.DefaultClusterEventingService.InternalSubscriptionInfo | From | To | |
Change Variable Type | 2 | ||
Change Variable Type subscribers : List<SubscriptionMetadata> to topic : InternalTopic in method private getSubscriberNodes(topicName String) : Stream<NodeId> in class io.atomix.cluster.messaging.impl.DefaultClusterEventingService | From | To | |
Change Variable Type subscriptions : Collection<SubscriptionMetadata> to subscriptions : Collection<InternalSubscriptionInfo> in method private updateNode(node Node) : CompletableFuture<Void> in class io.atomix.cluster.messaging.impl.DefaultClusterEventingService | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type subscribers : SubscriptionMetadata[] to subscribers : InternalSubscriptionInfo[] in class io.atomix.cluster.messaging.impl.DefaultClusterEventingService.TopicIterator | From | To | |
Change Attribute Type metadata : SubscriptionMetadata to metadata : InternalSubscriptionInfo in class io.atomix.cluster.messaging.impl.DefaultClusterEventingService.InternalSubscription | From | To | |
Rename Parameter | 3 | ||
Rename Parameter topic : String to topicName : String in method public getSubscriptions(topicName String) : List<Subscription> in class io.atomix.cluster.messaging.impl.DefaultClusterEventingService | From | To | |
Rename Parameter topic : String to topicName : String in method private getNextNodeId(topicName String) : NodeId in class io.atomix.cluster.messaging.impl.DefaultClusterEventingService | From | To | |
Rename Parameter topic : String to topicName : String in method private getSubscriberNodes(topicName String) : Stream<NodeId> in class io.atomix.cluster.messaging.impl.DefaultClusterEventingService | From | To |