@Override public void writeTo(StreamOutput out) throws IOException { out.writeVLong(insertOrder); Priority.writeTo(priority, out); out.writeText(source); out.writeLong(timeInQueue); out.writeBoolean(executing); } }
} else { out.writeBoolean(true); Priority.writeTo(waitForEvents, out);
@Override public void writeTo(StreamOutput out) throws IOException { out.writeVLong(insertOrder); Priority.writeTo(priority, out); out.writeText(source); out.writeLong(timeInQueue); out.writeBoolean(executing); } }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeVLong(insertOrder); Priority.writeTo(priority, out); out.writeText(source); out.writeLong(timeInQueue); out.writeBoolean(executing); } }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeVLong(insertOrder); Priority.writeTo(priority, out); out.writeText(source); out.writeLong(timeInQueue); out.writeBoolean(executing); } }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeVLong(insertOrder); Priority.writeTo(priority, out); out.writeText(source); out.writeLong(timeInQueue); out.writeBoolean(executing); } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); if (indices == null) { out.writeVInt(0); } else { out.writeVInt(indices.length); for (String index : indices) { out.writeString(index); } } timeout.writeTo(out); if (waitForStatus == null) { out.writeBoolean(false); } else { out.writeBoolean(true); out.writeByte(waitForStatus.value()); } out.writeBoolean(waitForNoRelocatingShards); waitForActiveShards.writeTo(out); out.writeString(waitForNodes); if (waitForEvents == null) { out.writeBoolean(false); } else { out.writeBoolean(true); Priority.writeTo(waitForEvents, out); } } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); if (indices == null) { out.writeVInt(0); } else { out.writeVInt(indices.length); for (String index : indices) { out.writeString(index); } } timeout.writeTo(out); if (waitForStatus == null) { out.writeBoolean(false); } else { out.writeBoolean(true); out.writeByte(waitForStatus.value()); } out.writeInt(waitForRelocatingShards); out.writeInt(waitForActiveShards); out.writeString(waitForNodes); if (waitForEvents == null) { out.writeBoolean(false); } else { out.writeBoolean(true); Priority.writeTo(waitForEvents, out); } } }
} else { out.writeBoolean(true); Priority.writeTo(waitForEvents, out);
} else { out.writeBoolean(true); Priority.writeTo(waitForEvents, out);