@Override public void apply(final SafeDataOutputStream dos) { dos.write(this.arguments); dos.flush(); } }
private void sendArguments(final SafeDataOutputStream dos) { dos.write(this.arguments); dos.flush(); }
private void sendTests(final SafeDataOutputStream dos) { // send individually to reduce memory overhead of deserializing large // suite LOG.info("Sending " + this.testClasses.size() + " test classes to minion"); dos.writeInt(this.testClasses.size()); for (final String tc : this.testClasses) { dos.writeString(tc); } dos.flush(); LOG.info("Sent tests to minion"); } }
@Override public synchronized void describe(final MutationIdentifier i) throws IOException { this.w.writeByte(Id.DESCRIBE); this.w.write(i); this.w.flush(); }
public synchronized void end(final ExitCode exitCode) { this.dos.writeByte(Id.DONE); this.dos.writeInt(exitCode.getCode()); this.dos.flush(); }
@Override public synchronized void report(final MutationIdentifier i, final MutationStatusTestPair mutationDetected) throws IOException { this.w.writeByte(Id.REPORT); this.w.write(i); this.w.write(mutationDetected); this.w.flush(); }
@Override public synchronized void done(final ExitCode exitCode) { this.w.writeByte(Id.DONE); this.w.writeInt(exitCode.getCode()); this.w.flush(); }
@Override public synchronized void describe(final MutationIdentifier i) throws IOException { this.w.writeByte(Id.DESCRIBE); this.w.write(i); this.w.flush(); }
@Override public synchronized void done(final ExitCode exitCode) { this.w.writeByte(Id.DONE); this.w.writeInt(exitCode.getCode()); this.w.flush(); }
public synchronized void end(final ExitCode exitCode) { this.dos.writeByte(Id.DONE); this.dos.writeInt(exitCode.getCode()); this.dos.flush(); }
@Override public synchronized void report(final MutationIdentifier i, final MutationStatusTestPair mutationDetected) throws IOException { this.w.writeByte(Id.REPORT); this.w.write(i); this.w.write(mutationDetected); this.w.flush(); }