io.github.portlek.sfs.status.DataNode Maven / Gradle / Ivy
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