private void sendRuntimeStatus() { final DriverRuntimeProtocol.RuntimeStatusProto msg = DriverRuntimeProtocol.RuntimeStatusProto.newBuilder() .setName("LOCAL") .setState(ReefServiceProtos.State.RUNNING) .setOutstandingContainerRequests(this.requestQueue.getNumberOfOutstandingRequests()) .addAllContainerAllocation(this.theContainers.getAllocatedContainerIDs()) .build(); LOG.log(Level.INFO, "Allocated: {0}, Outstanding requests: {1}", new Object[]{msg.getContainerAllocationCount(), msg.getOutstandingContainerRequests()}); this.runtimeStatusHandlerEventHandler.onNext(msg); }