@Override void sendTaskEvent(TaskEvent event) throws IOException { checkError(); checkState(subpartitionView != null, "Tried to send task event to producer before requesting the subpartition."); if (!taskEventDispatcher.publish(partitionId, event)) { throw new IOException("Error while publishing event " + event + " to producer. The producer could not be found."); } }
@Override void sendTaskEvent(TaskEvent event) throws IOException { checkError(); checkState(subpartitionView != null, "Tried to send task event to producer before requesting the subpartition."); if (!taskEventDispatcher.publish(partitionId, event)) { throw new IOException("Error while publishing event " + event + " to producer. The producer could not be found."); } }
@Override void sendTaskEvent(TaskEvent event) throws IOException { checkError(); checkState(subpartitionView != null, "Tried to send task event to producer before requesting the subpartition."); if (!taskEventDispatcher.publish(partitionId, event)) { throw new IOException("Error while publishing event " + event + " to producer. The producer could not be found."); } }
@Override void sendTaskEvent(TaskEvent event) throws IOException { checkError(); checkState(subpartitionView != null, "Tried to send task event to producer before requesting the subpartition."); if (!taskEventDispatcher.publish(partitionId, event)) { throw new IOException("Error while publishing event " + event + " to producer. The producer could not be found."); } }
TaskEventRequest request = (TaskEventRequest) msg; if (!taskEventDispatcher.publish(request.partitionId, request.event)) { respondWithError(ctx, new IllegalArgumentException("Task event receiver not found."), request.receiverId);
TaskEventRequest request = (TaskEventRequest) msg; if (!taskEventDispatcher.publish(request.partitionId, request.event)) { respondWithError(ctx, new IllegalArgumentException("Task event receiver not found."), request.receiverId);
TaskEventRequest request = (TaskEventRequest) msg; if (!taskEventDispatcher.publish(request.partitionId, request.event)) { respondWithError(ctx, new IllegalArgumentException("Task event receiver not found."), request.receiverId);
TaskEventRequest request = (TaskEventRequest) msg; if (!taskEventDispatcher.publish(request.partitionId, request.event)) { respondWithError(ctx, new IllegalArgumentException("Task event receiver not found."), request.receiverId);