All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.portlek.sfs.status.DataNode Maven / Gradle / Ivy

There is a newer version: 5.7
Show newest version
package io.github.portlek.sfs.status;

import io.github.portlek.sfs.Location;

public class DataNode extends AbstractNode {

    public String PublicUrl;

    public int EcShards;

    public int Free;

    public int Max;

    public String Url;

    public int Volumes;

    public Location asLocation() {
        final Location ret = new Location();
        ret.publicUrl = this.PublicUrl;
        ret.url = this.Url;
        return ret;
    }

    @Override
    public String toString() {
        return "DataNode{" +
            "PublicUrl='" + this.PublicUrl + '\'' +
            ", EcShards=" + this.EcShards +
            ", Free=" + this.Free +
            ", Max=" + this.Max +
            ", Url='" + this.Url + '\'' +
            ", Volumes=" + this.Volumes +
            '}';
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy