private long getRequestId(final ControlMessage.Message controlMessage) { switch (controlMessage.getType()) { case BlockLocationInfo: return controlMessage.getBlockLocationInfoMsg().getRequestId(); case InMasterBroadcastVariable: return controlMessage.getBroadcastVariableMsg().getRequestId(); case PipeLocInfo: return controlMessage.getPipeLocInfoMsg().getRequestId(); default: throw new IllegalArgumentException(controlMessage.toString()); } } }
private long getRequestId(final ControlMessage.Message controlMessage) { switch (controlMessage.getType()) { case BlockLocationInfo: return controlMessage.getBlockLocationInfoMsg().getRequestId(); case InMasterBroadcastVariable: return controlMessage.getBroadcastVariableMsg().getRequestId(); case PipeLocInfo: return controlMessage.getPipeLocInfoMsg().getRequestId(); default: throw new IllegalArgumentException(controlMessage.toString()); } } }
throw new RuntimeException("Response message type mismatch!"); final ControlMessage.PipeLocationInfoMessage pipeLocInfo = responseFromMaster.getPipeLocInfoMsg(); if (!pipeLocInfo.hasExecutorId()) { throw new IllegalStateException(); final String targetExecutorId = responseFromMaster.getPipeLocInfoMsg().getExecutorId();
if (!getPipeLocInfoMsg().isInitialized()) { memoizedIsInitialized = 0; return false;
if (!getPipeLocInfoMsg().isInitialized()) { memoizedIsInitialized = 0; return false;
mergePipeLocInfoMsg(other.getPipeLocInfoMsg());
mergePipeLocInfoMsg(other.getPipeLocInfoMsg());
throw new RuntimeException("Response message type mismatch!"); final ControlMessage.PipeLocationInfoMessage pipeLocInfo = responseFromMaster.getPipeLocInfoMsg(); if (!pipeLocInfo.hasExecutorId()) { throw new IllegalStateException(); final String targetExecutorId = responseFromMaster.getPipeLocInfoMsg().getExecutorId();