return Math.round((float) totalMemory.getMegabytes() / maxMemory.getMegabytes() * 100);
}
public static NodeJVMStats buildEmpty() {
final ByteListing byteListing = new ByteListing();
final ClusterEntityJVMStatsResponse clusterEntity = new ClusterEntityJVMStatsResponse();
byteListing.bytes = 0;
byteListing.kilobytes = 0;
byteListing.megabytes = 0;