docs: public static String getDirectMemoryStatsAsString(BufferPoolMXBean bufferPoolMxBean) {
  		if (bufferPoolMxBean == null) {
  			return "Direct memory stats: unavailable";
  		}
  		else {
  			return String.format("Direct memory stats: Count: %d, Total Capacity: %d, Used Memory: %d",
  					bufferPoolMxBean.getCount(),
  					bufferPoolMxBean.getTotalCapacity(),
  					bufferPoolMxBean.getMemoryUsed());
  		}
  	}