@Override protected void write(ObjectOutput out) throws IOException { out.writeUTF(name != null ? name : ""); out.writeObject(value); }
/** {@inheritDoc} */ @Override protected void writeExternalData(ObjectOutput out) throws IOException { out.writeObject(partKey); out.writeBoolean(isPrimary); out.writeObject(consistentId); out.writeInt(partHash); out.writeLong(updateCntr); out.writeLong(size); }
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeLong(timestamp); out.writeObject(nodeHealth); }
/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { out.writeObject(data); out.writeObject(meta); out.writeInt(rowSize); out.writeInt(colSize); out.writeBoolean(isDistributed); }
/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { out.writeObject(range); out.writeInt(status); }
/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { out.writeObject(delegate); out.writeBoolean(lock); out.writeObject(opCtx); }
/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { out.writeInt(cnt); out.writeInt(initCnt); out.writeBoolean(autoDel); out.writeLong(gridStartTime); }
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeInt(status.ordinal()); out.writeInt(causes.size()); for (String cause : causes) { out.writeUTF(cause); } out.writeObject(details); }
/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { out.writeLong(modificationTime); if (updateSpace) { out.writeBoolean(true); out.writeLong(space); out.writeObject(affRange); } else out.writeBoolean(false); }
/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { out.writeLong(maxSize); out.writeInt(maxBlocks); out.writeObject(excludePaths); out.writeObject(excludePatterns); }
/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { out.writeObject(userFunc); out.writeInt(partitions); out.writeByte(overrideFlags); out.writeObject(baseFunc); }
@Override public void writeObject(ObjectOutput output, Calendar calendar) throws IOException { output.writeUTF(calendar.getCalendarType()); output.writeLong(calendar.getTimeInMillis()); output.writeBoolean(calendar.isLenient()); output.writeUTF(calendar.getTimeZone().getID()); output.writeInt(calendar.getFirstDayOfWeek()); output.writeInt(calendar.getMinimalDaysInFirstWeek()); }
/** {@inheritDoc} */ @Override protected void writeExternalData(ObjectOutput out) throws IOException { out.writeBoolean(alive); out.writeLong(startTime); out.writeLong(finishTime); }
protected void walkToSave(ObjectOutput out) throws IOException { out.writeChar(c); out.writeInt(status.ordinal()); if (status == Status.WORD_END_3 || status == Status.WORD_MIDDLE_2) { out.writeObject(value); } int childSize = 0; if (child != null) childSize = child.length; out.writeInt(childSize); if (child == null) return; for (BaseNode node : child) { node.walkToSave(out); } }
/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); boolean b = rmtFilterFactoryDep != null; out.writeBoolean(b); if (b) out.writeObject(rmtFilterFactoryDep); else out.writeObject(rmtFilterFactory); out.writeByte(types); }
/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { if (delims != null) { out.writeBoolean(true); out.writeInt(delims.length); for (byte[] delim : delims) U.writeByteArray(out, delim); } else out.writeBoolean(false); }