@Override public IncCounterProcessorRequest getRequestData() throws IOException { IncCounterProcessorRequest.Builder builder = IncCounterProcessorRequest.newBuilder(); builder.setCounter(counter); builder.setRow(ByteStringer.wrap(row)); return builder.build(); }
@Override public void initialize(IncCounterProcessorRequest msg) { this.row = msg.getRow().toByteArray(); this.counter = msg.getCounter(); }