/** * Write this object to the output stream. * * @param out the output stream * @throws IOException if a write error occurs */ public void writeExternal(final ObjectOutput out) throws IOException { out.writeObject(locator); out.writeBoolean(async); }
/** {@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 { U.writeString(out, igfsName); out.writeLong(blockSize); if (sampling != null) { out.writeBoolean(true); out.writeBoolean(sampling); } else out.writeBoolean(false); }
/** {@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); }
/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { U.writeString(out, cacheName); out.writeObject(topic); boolean b = rmtFilterDep != null; out.writeBoolean(b); if (b) out.writeObject(rmtFilterDep); else out.writeObject(rmtFilter); out.writeBoolean(internal); out.writeBoolean(notifyExisting); out.writeBoolean(oldValRequired); out.writeBoolean(sync); out.writeBoolean(ignoreExpired); out.writeInt(taskHash); out.writeBoolean(keepBinary); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeBoolean(name != null); if (name != null) { out.writeUTF(name); } out.writeBoolean(prettyName != null); if (prettyName != null) { out.writeUTF(prettyName); } out.writeObject(plans); }
/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { out.writeInt(cnt); out.writeInt(initCnt); out.writeBoolean(autoDel); out.writeLong(gridStartTime); }
/** * Write this list out to the given stream as part of serialization * * @param oos The stream to which to serialize our state */ @Override public void writeExternal(ObjectOutput oos) throws IOException { oos.writeBoolean( sorted ); oos.writeInt( executables.size() ); for ( E e : executables ) { oos.writeObject( e ); } // if the spaces are initialized, write them out for usage after deserialization if ( querySpaces == null ) { oos.writeInt( -1 ); } else { oos.writeInt( querySpaces.size() ); // these are always String, why we treat them as Serializable instead is beyond me... for ( Serializable querySpace : querySpaces ) { oos.writeUTF( querySpace.toString() ); } } }
public void writeExternal(ObjectOutput out) throws IOException { out.writeLong(processInstanceId); out.writeUTF(type); out.writeBoolean(event != null); if (event != null) { out.writeObject(event); } }
/** {@inheritDoc} */ @Override protected void writeExternalData(ObjectOutput out) throws IOException { U.writeString(out, cacheName); U.writeString(out, qryTxt); out.writeBoolean(distributedJoins); out.writeBoolean(enforceJoinOrder); out.writeBoolean(loc); out.writeInt(pageSize); out.writeBoolean(lazy); out.writeBoolean(collocated); }
@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()); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeUTF(name); out.writeBoolean(prettyName != null); if (prettyName != null) { out.writeUTF(prettyName); } }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeBoolean(unit != null); if (unit != null) { out.writeUTF(unit.name()); } out.writeBoolean(number != null); if (number != null) { out.writeInt(number); } }
@Override public void writeExternal(final ObjectOutput oo) throws IOException { oo.writeLong(id.getMostSignificantBits()); oo.writeLong(id.getLeastSignificantBits()); oo.writeUTF(createdDate.toString()); oo.writeUTF(updatedDate.toString()); oo.writeBoolean(externalKey != null); if (externalKey != null) { oo.writeUTF(externalKey); } oo.writeUTF(apiKey); } }
/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { U.writeUuid(out, routineId); out.writeObject(prjPred); out.writeObject(hnd); out.writeInt(bufSize); out.writeLong(interval); out.writeBoolean(autoUnsubscribe); }
/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { out.writeObject(data); out.writeObject(meta); out.writeInt(rowSize); out.writeInt(colSize); out.writeBoolean(isDistributed); }
@Override public void writeExternal(final ObjectOutput oo) throws IOException { oo.writeBoolean(catalogName != null); if (catalogName != null) { // Can be null for placeholder XML oo.writeUTF(catalogName); } oo.writeObject(versions); }
/** {@inheritDoc} */ @Override protected void writeExternalData(ObjectOutput out) throws IOException { out.writeBoolean(jdbcStore); U.writeString(out, store); U.writeString(out, storeFactory); out.writeBoolean(readThrough); out.writeBoolean(writeThrough); out.writeBoolean(writeBehindEnabled); out.writeInt(batchSz); out.writeLong(flushFreq); out.writeInt(flushSz); out.writeInt(flushThreadCnt); out.writeBoolean(storeKeepBinary); out.writeBoolean(writeBehindCoalescing); }
/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { out.writeObject(delegate); out.writeBoolean(lock); out.writeObject(opCtx); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeBoolean(numberOfUnpaidInvoicesEqualsOrExceeds != null); if (numberOfUnpaidInvoicesEqualsOrExceeds != null) { out.writeInt(numberOfUnpaidInvoicesEqualsOrExceeds); } out.writeObject(totalUnpaidInvoiceBalanceEqualsOrExceeds); out.writeObject(timeSinceEarliestUnpaidInvoiceEqualsOrExceeds); out.writeObject(responseForLastFailedPayment); out.writeBoolean(controlTagInclusion != null); if (controlTagInclusion != null) { out.writeUTF(controlTagInclusion.name()); } out.writeBoolean(controlTagExclusion != null); if (controlTagExclusion != null) { out.writeUTF(controlTagExclusion.name()); } }