7f9153c9feba86ef540d8e5aa44f6a6681ab4d5a
Files Diff
- Added: 2
- Removed: 5
- Renamed: 0
- Modified: 10
Link to commit
Third party dependencies:
Dependency Action | |
---|---|
Added | |
net.sourceforge.argparse4j:argparse4j:0.7.0 |
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type address : InetAddress to endpoint : Endpoint in method public DefaultNode(id NodeId, endpoint Endpoint) in class io.atomix.cluster.impl.DefaultNode | From | To | |
Change Parameter Type partition : ReplicaPartition to partition : RaftPartition in method public RaftPartitionServer(partition RaftPartition, localMemberId MemberId, clusterCommunicator ClusterCommunicationService) in class io.atomix.partition.impl.RaftPartitionServer | From | To | |
Move Method | 2 | ||
Move Method public newBuilder() : Builder from class io.atomix.AtomixMetadata to public newBuilder() : Builder from class io.atomix.Atomix | From | To | |
Move Method private buildPartitions() : Collection<PartitionMetadata> from class io.atomix.AtomixMetadata.Builder to private buildPartitions() : Collection<PartitionMetadata> from class io.atomix.Atomix.Builder | From | To | |
Pull Up Attribute | 3 | ||
Pull Up Attribute private dataFolder : File from class io.atomix.AtomixReplica.Builder to private dataFolder : File from class io.atomix.Atomix.Builder | From | To | |
Pull Up Attribute private server : RaftPartitionServer from class io.atomix.partition.impl.ReplicaPartition to private server : RaftPartitionServer from class io.atomix.partition.impl.RaftPartition | From | To | |
Pull Up Attribute private client : RaftPartitionClient from class io.atomix.partition.impl.ReplicaPartition to private client : RaftPartitionClient from class io.atomix.partition.impl.RaftPartition | From | To | |
Push Down Attribute | 1 | ||
Push Down Attribute private DEFAULT_PORT : int from class io.atomix.cluster.Node.Builder to protected DEFAULT_PORT : int from class io.atomix.cluster.impl.DefaultNode.Builder | From | To | |
Change Variable Type | 1 | ||
Change Variable Type node : DefaultNode to nodeId : NodeId in method private handleHeartbeat(endpoint Endpoint, message byte[]) : void in class io.atomix.cluster.impl.DefaultClusterService | From | To | |
Rename Method | 1 | ||
Rename Method public tcpPort() : int renamed to public endpoint() : Endpoint in class io.atomix.cluster.Node | From | To | |
Pull Up Method | 14 | ||
Pull Up Method private createClient() : RaftPartitionClient from class io.atomix.partition.impl.ClientPartition to private createClient() : RaftPartitionClient from class io.atomix.partition.impl.RaftPartition | From | To | |
Pull Up Method public open() : CompletableFuture<Partition> from class io.atomix.partition.impl.ReplicaPartition to public open() : CompletableFuture<Partition> from class io.atomix.partition.impl.RaftPartition | From | To | |
Pull Up Method public getPrimitiveCreator() : DistributedPrimitiveCreator from class io.atomix.partition.impl.ClientPartition to public getPrimitiveCreator() : DistributedPrimitiveCreator from class io.atomix.partition.impl.RaftPartition | From | To | |
Pull Up Method private createClient() : RaftPartitionClient from class io.atomix.partition.impl.ReplicaPartition to private createClient() : RaftPartitionClient from class io.atomix.partition.impl.RaftPartition | From | To | |
Pull Up Method public close() : CompletableFuture<Void> from class io.atomix.partition.impl.ReplicaPartition to public close() : CompletableFuture<Void> from class io.atomix.partition.impl.RaftPartition | From | To | |
Pull Up Method public delete() : CompletableFuture<Void> from class io.atomix.partition.impl.ReplicaPartition to public delete() : CompletableFuture<Void> from class io.atomix.partition.impl.RaftPartition | From | To | |
Pull Up Method public getDataFolder() : File from class io.atomix.partition.impl.ReplicaPartition to package getDataDir() : File from class io.atomix.partition.impl.RaftPartition | From | To | |
Pull Up Method public withDataFolder(dataFolder File) : Builder from class io.atomix.AtomixReplica.Builder to public withDataDir(dataDir File) : Builder from class io.atomix.Atomix.Builder | From | To | |
Pull Up Method public close() : CompletableFuture<Void> from class io.atomix.partition.impl.ClientPartition to public close() : CompletableFuture<Void> from class io.atomix.partition.impl.RaftPartition | From | To | |
Pull Up Method public newBuilder() : Builder from class io.atomix.AtomixClient to public newBuilder() : Builder from class io.atomix.Atomix | From | To | |
Pull Up Method protected createServer() : RaftPartitionServer from class io.atomix.partition.impl.ReplicaPartition to protected createServer() : RaftPartitionServer from class io.atomix.partition.impl.RaftPartition | From | To | |
Pull Up Method public newBuilder() : Builder from class io.atomix.AtomixReplica to public newBuilder() : Builder from class io.atomix.Atomix | From | To | |
Pull Up Method public build() : Atomix from class io.atomix.AtomixReplica.Builder to public build() : Atomix from class io.atomix.Atomix.Builder | From | To | |
Pull Up Method public getPrimitiveCreator() : DistributedPrimitiveCreator from class io.atomix.partition.impl.ReplicaPartition to public getPrimitiveCreator() : DistributedPrimitiveCreator from class io.atomix.partition.impl.RaftPartition | From | To | |
Rename Variable | 2 | ||
Rename Variable node : DefaultNode to nodeId : NodeId in method private handleHeartbeat(endpoint Endpoint, message byte[]) : void in class io.atomix.cluster.impl.DefaultClusterService | From | To | |
Rename Variable hbMessagePayload : byte[] to payload : byte[] in method private sendHeartbeats() : void in class io.atomix.cluster.impl.DefaultClusterService | From | To | |
Change Return Type | 1 | ||
Change Return Type int to Endpoint in method public endpoint() : Endpoint in class io.atomix.cluster.Node | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable remoteEp : Endpoint to endpoint : Endpoint in method private sendHeartbeat(endpoint Endpoint, payload byte[]) : void in class io.atomix.cluster.impl.DefaultClusterService | From | To | |
Rename Attribute | 1 | ||
Rename Attribute address : InetAddress to endpoint : Endpoint in class io.atomix.cluster.Node | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type partition : ReplicaPartition to partition : RaftPartition in class io.atomix.partition.impl.RaftPartitionServer | From | To | |
Change Attribute Type address : InetAddress to endpoint : Endpoint in class io.atomix.cluster.Node | From | To | |
Rename Parameter | 3 | ||
Rename Parameter messagePayload : byte[] to payload : byte[] in method private sendHeartbeat(endpoint Endpoint, payload byte[]) : void in class io.atomix.cluster.impl.DefaultClusterService | From | To | |
Rename Parameter dataFolder : File to dataDir : File in method public withDataDir(dataDir File) : Builder in class io.atomix.Atomix.Builder | From | To | |
Rename Parameter address : InetAddress to endpoint : Endpoint in method public DefaultNode(id NodeId, endpoint Endpoint) in class io.atomix.cluster.impl.DefaultNode | From | To |