public GarbageCollectors(StreamInput in) throws IOException { collectors = in.readArray(GarbageCollector::new, GarbageCollector[]::new); }
return readArrayList(); case 8: return readArray(); case 9: return readLinkedHashMap();
public AllCircuitBreakerStats(StreamInput in) throws IOException { allStats = in.readArray(CircuitBreakerStats::new, CircuitBreakerStats[]::new); }
public SearchGuardLicense(final StreamInput in) throws IOException { uid = in.readString(); type = in.readEnum(Type.class); issueDate = in.readString(); expiryDate = in.readString(); issuedTo = in.readString(); issuer = in.readString(); startDate = in.readString(); majorVersion = in.readOptionalVInt(); clusterName = in.readString(); allowedNodeCount = in.readInt(); msgs.addAll(in.readList(StreamInput::readString)); expiresInDays = in.readLong(); isExpired = in.readBoolean(); valid = in.readBoolean(); action = in.readString(); prodUsage = in.readString(); features = in.readArray(new Reader<Feature>() { @Override public Feature read(StreamInput in) throws IOException { return in.readEnum(Feature.class); }}, Feature[]::new); clusterService = null; }
SearchSortValues(StreamInput in) throws IOException { this.formattedSortValues = in.readArray(Lucene::readSortValue, Object[]::new); if (in.getVersion().onOrAfter(Version.V_6_6_0)) { this.rawSortValues = in.readArray(Lucene::readSortValue, Object[]::new); } else { this.rawSortValues = EMPTY_ARRAY; } }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); shards = in.readArray(ShardStats::readShardStats, (size) -> new ShardStats[size]); }
public <T> T[] readOptionalArray(Writeable.Reader<T> reader, IntFunction<T[]> arraySupplier) throws IOException { return readBoolean() ? readArray(reader, arraySupplier) : null; }
@Override public void readFrom(final StreamInput in) throws IOException { if (in.getVersion().equals(Version.V_6_0_0)) { /* * Resync replication request serialization was broken in 6.0.0 due to the elements of the stream not being prefixed with a * byte indicating the type of the operation. */ throw new IllegalStateException("resync replication request serialization is broken in 6.0.0"); } super.readFrom(in); if (in.getVersion().onOrAfter(Version.V_6_4_0)) { trimAboveSeqNo = in.readZLong(); } else { trimAboveSeqNo = SequenceNumbers.UNASSIGNED_SEQ_NO; } if (in.getVersion().onOrAfter(Version.V_6_5_0)) { maxSeenAutoIdTimestampOnPrimary = in.readZLong(); } else { maxSeenAutoIdTimestampOnPrimary = IndexRequest.UNSET_AUTO_GENERATED_TIMESTAMP; } operations = in.readArray(Translog.Operation::readOperation, Translog.Operation[]::new); }
public GarbageCollectors(StreamInput in) throws IOException { collectors = in.readArray(GarbageCollector::new, GarbageCollector[]::new); }
public AllCircuitBreakerStats(StreamInput in) throws IOException { allStats = in.readArray(CircuitBreakerStats::new, CircuitBreakerStats[]::new); }
public AllCircuitBreakerStats(StreamInput in) throws IOException { allStats = in.readArray(CircuitBreakerStats::new, CircuitBreakerStats[]::new); }
public AllCircuitBreakerStats(StreamInput in) throws IOException { allStats = in.readArray(CircuitBreakerStats::new, CircuitBreakerStats[]::new); }
public GarbageCollectors(StreamInput in) throws IOException { collectors = in.readArray(GarbageCollector::new, GarbageCollector[]::new); }
public GarbageCollectors(StreamInput in) throws IOException { collectors = in.readArray(GarbageCollector::new, GarbageCollector[]::new); }
long totalHits = in.readVLong(); float maxScore = in.readFloat(); SortField[] fields = in.readArray(Lucene::readSortField, SortField[]::new); FieldDoc[] fieldDocs = new FieldDoc[in.readVInt()]; for (int i = 0; i < fieldDocs.length; i++) { SortField[] fields = in.readArray(Lucene::readSortField, SortField[]::new); int size = in.readVInt(); Object[] collapseValues = new Object[size];
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); shards = in.readArray(ShardStats::readShardStats, (size) -> new ShardStats[size]); }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); shards = in.readArray(ShardStats::readShardStats, (size) -> new ShardStats[size]); }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); shards = in.readArray(ShardStats::readShardStats, (size) -> new ShardStats[size]); }
public <T> T[] readOptionalArray(Writeable.Reader<T> reader, IntFunction<T[]> arraySupplier) throws IOException { return readBoolean() ? readArray(reader, arraySupplier) : null; }
public <T> T[] readOptionalArray(Writeable.Reader<T> reader, IntFunction<T[]> arraySupplier) throws IOException { return readBoolean() ? readArray(reader, arraySupplier) : null; }