Map<String, Object> input = Maps.newHashMap();
Map<String, Object> output = Maps.newHashMap();
int ringSize = configuration.getRingSize();
BufferWatermark pWm = new BufferWatermark(ringSize, processBufferWatermark);
input.put("utilization_percent", pWm.getUtilizationPercentage());
input.put("utilization", pWm.getUtilization());
BufferWatermark oWm = new BufferWatermark(ringSize, outputBufferWatermark);
output.put("utilization_percent", oWm.getUtilizationPercentage());
output.put("utilization", oWm.getUtilization());
buffers.put("input", input);
buffers.put("output", output);
return buffers;