b6b79db7199dea4f20a550894d5ad5a01124e4cb
Files Diff
- Added: 3
- Removed: 4
- Renamed: 0
- Modified: 31
Link to commit
Third party dependencies:
Dependency Action | |
---|---|
Removed | |
io.atomix:atomix-messaging:1.0.0-SNAPSHOT | |
Updated | |
From io.atomix.catalyst:catalyst-netty 1.0.6 To 1.0.5 | |
From io.atomix.copycat:copycat-client 1.0.0-rc6 To 1.0.0-SNAPSHOT | |
From io.atomix.copycat:copycat-server 1.0.0-rc6 To 1.0.0-SNAPSHOT | |
From io.atomix.catalyst:catalyst-local 1.0.6 To 1.0.5 |
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 2 | ||
Move And Inline Method public start() : CompletableFuture<Atomix> moved from class io.atomix.AtomixReplica to class io.atomix.manager.ResourceServer & inlined to public join(cluster Collection<Address>) : CompletableFuture<ResourceServer> | From | To | |
Move And Inline Method public builder(members Address...) : Builder moved from class io.atomix.manager.ResourceClient to class io.atomix.AtomixClient & inlined to public builder() : Builder | From | To | |
Change Parameter Type | 4 | ||
Change Parameter Type client2 : Atomix to client2 : AtomixClient in method private testLock(client1 AtomixClient, client2 AtomixClient, factory Function<Atomix,DistributedLock>) : void in class io.atomix.AtomixLockTest | From | To | |
Change Parameter Type members : Address... to properties : Properties in method public builder(address Address, properties Properties) : Builder in class io.atomix.manager.ResourceServer | From | To | |
Change Parameter Type balancer : ClusterBalancer to clusterManager : ClusterManager in method private AtomixReplica(client ResourceClient, server ResourceServer, clusterManager ClusterManager) in class io.atomix.AtomixReplica | From | To | |
Change Parameter Type client1 : Atomix to client1 : AtomixClient in method private testLock(client1 AtomixClient, client2 AtomixClient, factory Function<Atomix,DistributedLock>) : void in class io.atomix.AtomixLockTest | From | To | |
Move Method | 3 | ||
Move Method public withQuorumHint(quorumHint int) : Builder from class io.atomix.AtomixReplica.Builder to public withQuorumHint(quorumHint int) : Builder from class io.atomix.cluster.BalancingClusterManager.Builder | From | To | |
Move Method public withQuorumHint(quorum Quorum) : Builder from class io.atomix.AtomixReplica.Builder to public withQuorumHint(quorum Quorum) : Builder from class io.atomix.cluster.BalancingClusterManager.Builder | From | To | |
Move Method public withBackupCount(backupCount int) : Builder from class io.atomix.AtomixReplica.Builder to public withBackupCount(backupCount int) : Builder from class io.atomix.cluster.BalancingClusterManager.Builder | From | To | |
Move Attribute | 2 | ||
Move Attribute private backupCount : int from class io.atomix.AtomixReplica.Builder to private backupCount : int from class io.atomix.cluster.BalancingClusterManager.Builder | From | To | |
Move Attribute private quorumHint : int from class io.atomix.AtomixReplica.Builder to private quorumHint : int from class io.atomix.cluster.BalancingClusterManager.Builder | From | To | |
Extract Class | 1 | ||
Extract Class io.atomix.cluster.BalancingClusterManager.Builder from class io.atomix.AtomixReplica.Builder | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class io.atomix.util.ClusterBalancer moved and renamed to io.atomix.cluster.BalancingClusterManager | From | To | |
Move Class | 1 | ||
Move Class io.atomix.Quorum moved to io.atomix.cluster.Quorum | From | To | |
Change Variable Type | 6 | ||
Change Variable Type atomix : Atomix to atomix : AtomixReplica in method public main(args String[]) : void in class io.atomix.examples.variables.DistributedValueExample | From | To | |
Change Variable Type atomix : Atomix to atomix : AtomixReplica in method public main(args String[]) : void in class io.atomix.examples.group.DistributedGroupExample | From | To | |
Change Variable Type client : Atomix to client : AtomixClient in method public main(args String[]) : void in class io.atomix.examples.distributedlock.DistributedLockExample | From | To | |
Change Variable Type client1 : Atomix to client1 : AtomixClient in method public testClientLockGet() : void in class io.atomix.AtomixLockTest | From | To | |
Change Variable Type atomix : Atomix to atomix : AtomixReplica in method public main(args String[]) : void in class io.atomix.examples.election.LeaderElectionExample | From | To | |
Change Variable Type client2 : Atomix to client2 : AtomixClient in method public testClientLockGet() : void in class io.atomix.AtomixLockTest | From | To | |
Rename Method | 5 | ||
Rename Method public stop() : CompletableFuture<Void> renamed to public shutdown() : CompletableFuture<Void> in class io.atomix.manager.ResourceServer | From | To | |
Rename Method public open() : CompletableFuture<Atomix> renamed to public connect(cluster Address...) : CompletableFuture<Atomix> in class io.atomix.AtomixClient | From | To | |
Rename Method public stop() : CompletableFuture<Void> renamed to public shutdown() : CompletableFuture<Void> in class io.atomix.AtomixReplica | From | To | |
Rename Method public start() : CompletableFuture<ResourceServer> renamed to public join(cluster Collection<Address>) : CompletableFuture<ResourceServer> in class io.atomix.manager.ResourceServer | From | To | |
Rename Method public replace(cluster Cluster) : CompletableFuture<Void> renamed to public stop(cluster Cluster, replica AtomixReplica) : CompletableFuture<Void> in class io.atomix.cluster.BalancingClusterManager | From | To | |
Rename Variable | 5 | ||
Rename Variable members : List<Address> to cluster : List<Address> in method public main(args String[]) : void in class io.atomix.examples.distributedlock.DistributedLockExample | From | To | |
Rename Variable members : List<Address> to cluster : List<Address> in method public main(args String[]) : void in class io.atomix.examples.variables.DistributedValueExample | From | To | |
Rename Variable members : List<Address> to cluster : List<Address> in method public main(args String[]) : void in class io.atomix.examples.group.DistributedGroupExample | From | To | |
Rename Variable members : List<Address> to cluster : List<Address> in method public main(args String[]) : void in class io.atomix.examples.election.LeaderElectionExample | From | To | |
Rename Variable seeds : List<Address> to cluster : List<Address> in method public main(args String[]) : void in class io.atomix.standalone.server.StandaloneServer | From | To | |
Inline Method | 3 | ||
Inline Method public builder(clientAddress Address, serverAddress Address, members Address...) : Builder inlined to public builder(address Address, properties Properties) : Builder in class io.atomix.manager.ResourceServer | From | To | |
Inline Method private buildServer() : ResourceServer inlined to public build() : AtomixReplica in class io.atomix.AtomixReplica.Builder | From | To | |
Inline Method private buildClient() : ResourceClient inlined to public build() : AtomixReplica in class io.atomix.AtomixReplica.Builder | From | To | |
Change Return Type | 1 | ||
Change Return Type Atomix to AtomixClient in method protected createClient(types ResourceType...) : AtomixClient in class io.atomix.AbstractAtomixTest | From | To | |
Rename Attribute | 1 | ||
Rename Attribute balancer : ClusterBalancer to clusterManager : ClusterManager in class io.atomix.AtomixReplica | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type balancer : ClusterBalancer to clusterManager : ClusterManager in class io.atomix.AtomixReplica | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public connect(cluster Address...) : CompletableFuture<ResourceClient> extracted from public open() : CompletableFuture<Atomix> in class io.atomix.AtomixClient & moved to class io.atomix.manager.ResourceClient | From | To | |
Extract And Move Method public join(cluster Collection<Address>) : CompletableFuture<AtomixReplica> extracted from public start() : CompletableFuture<ResourceServer> in class io.atomix.manager.ResourceServer & moved to class io.atomix.AtomixReplica | From | To | |
Rename Parameter | 2 | ||
Rename Parameter members : Address... to properties : Properties in method public builder(address Address, properties Properties) : Builder in class io.atomix.manager.ResourceServer | From | To | |
Rename Parameter balancer : ClusterBalancer to clusterManager : ClusterManager in method private AtomixReplica(client ResourceClient, server ResourceServer, clusterManager ClusterManager) in class io.atomix.AtomixReplica | From | To |