private static void assertSameOp(final IStartOpMessage expected, final IStartOpMessage actual) { assertEquals("queryId", expected.getQueryId(), actual.getQueryId()); assertEquals("serviceId", expected.getServiceId(), actual.getServiceId()); assertEquals("bopId", expected.getBOpId(), actual.getBOpId()); assertEquals("partitionId", expected.getPartitionId(), actual.getPartitionId()); assertEquals("messageReadyCount", expected.getChunkMessageCount(), actual.getChunkMessageCount()); }
final Integer bopId = msg.getBOpId(); case CONTROLLER: case HASHED: set.add(msg.getServiceId()); break; case SHARDED: set.add(Integer.valueOf(msg.getPartitionId())); break;
@Override public void startOp(final IStartOpMessage msg) throws RemoteException { final AbstractRunningQuery q = getRunningQuery(msg.getQueryId()); if (q != null) { q.startOp(msg); } }
final Integer bopId = msg.getBOpId(); case CONTROLLER: case HASHED: set.add(msg.getServiceId()); break; case SHARDED: set.add(Integer.valueOf(msg.getPartitionId())); break;
@Override public void startOp(final IStartOpMessage msg) throws RemoteException { final AbstractRunningQuery q = getRunningQuery(msg.getQueryId()); if (q != null) { q.startOp(msg); } }
private static void assertSameOp(final IStartOpMessage expected, final IStartOpMessage actual) { assertEquals("queryId", expected.getQueryId(), actual.getQueryId()); assertEquals("serviceId", expected.getServiceId(), actual.getServiceId()); assertEquals("bopId", expected.getBOpId(), actual.getBOpId()); assertEquals("partitionId", expected.getPartitionId(), actual.getPartitionId()); assertEquals("messageReadyCount", expected.getChunkMessageCount(), actual.getChunkMessageCount()); }
throw new IllegalArgumentException(); if (!queryId.equals(msg.getQueryId())) throw new IllegalArgumentException();
messagesConsumed(msg.getBOpId(), msg.getChunkMessageCount()); final Integer bopId = msg.getBOpId(); innerState.totalLastPassRemainingCount.incrementAndGet(); innerState.serviceIds.add(msg.getServiceId()); TableLog.tableLog.info(getTableRow("startOp", msg.getServiceId(), msg.getBOpId(), msg.getPartitionId(), msg.getChunkMessageCount(), null/* cause */, null/* stats */)); log.info("startOp: " + toString() + " : bop=" + msg.getBOpId());
throw new IllegalArgumentException(); if (!queryId.equals(msg.getQueryId())) throw new IllegalArgumentException();
messagesConsumed(msg.getBOpId(), msg.getChunkMessageCount()); final Integer bopId = msg.getBOpId(); innerState.totalLastPassRemainingCount.incrementAndGet(); innerState.serviceIds.add(msg.getServiceId()); TableLog.tableLog.info(getTableRow("startOp", msg.getServiceId(), msg.getBOpId(), msg.getPartitionId(), msg.getChunkMessageCount(), null/* cause */, null/* stats */)); log.info("startOp: " + toString() + " : bop=" + msg.getBOpId());