/** {@inheritDoc} */ @Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException { partKey = (PartitionKeyV2)in.readObject(); isPrimary = in.readBoolean(); consistentId = in.readObject(); partHash = in.readInt(); updateCntr = in.readLong(); size = in.readLong(); }
@Override protected void read(ObjectInput in) throws IOException, ClassNotFoundException { this.name = in.readUTF(); this.value = (Number) in.readObject(); } }
/** {@inheritDoc} */ @Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException { mode = CacheRebalanceMode.fromOrdinal(in.readByte()); batchSize = in.readInt(); partitionedDelay = in.readLong(); throttle = in.readLong(); timeout = in.readLong(); batchesPrefetchCnt = in.readLong(); rebalanceOrder = in.readInt(); }
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { this.timestamp = in.readLong(); this.nodeHealth = (NodeHealth) in.readObject(); }
/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { modificationTime = in.readLong(); if (in.readBoolean()) { updateSpace = true; space = in.readLong(); affRange = (IgfsFileAffinityRange)in.readObject(); } else updateSpace = false; }
/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { data = (Row[]) in.readObject(); meta = (FeatureMetadata[]) in.readObject(); rowSize = in.readInt(); colSize = in.readInt(); isDistributed = in.readBoolean(); } }
/** {@inheritDoc} */ @SuppressWarnings("unchecked") @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { sto = (VectorStorage)in.readObject(); meta = (Map<String, Object>)in.readObject(); guid = (IgniteUuid)in.readObject(); readOnly = in.readBoolean(); }
/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { dlg = (MatrixStorage)in.readObject(); rowOff = in.readInt(); colOff = in.readInt(); rows = in.readInt(); cols = in.readInt(); }
@Override protected void read(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); for(int i=0;i<size;i++) { String k = in.readUTF(); Object v = in.readObject(); params.put(k, v); } }
private Map<String, String> decodeRequestAttachments(ObjectInput input) throws IOException, ClassNotFoundException { int size = input.readInt(); if (size <= 0) { return null; } Map<String, String> attachments = new HashMap<String, String>(); for (int i = 0; i < size; i++) { attachments.put(input.readUTF(), input.readUTF()); } return attachments; }
/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { maxSize = in.readLong(); maxBlocks = in.readInt(); excludePaths = (Collection<String>)in.readObject(); excludePatterns = (Collection<Pattern>)in.readObject(); }
/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { userFunc = in.readObject(); partitions = in.readInt(); overrideFlags = in.readByte(); baseFunc = (AffinityFunction)in.readObject(); }
/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException { cnt = in.readInt(); initCnt = in.readInt(); autoDel = in.readBoolean(); gridStartTime = in.readLong(); }
/** {@inheritDoc} */ @Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException { partId = in.readInt(); primary = in.readBoolean(); state = GridDhtPartitionState.fromOrdinal(in.readByte()); updateCntr = in.readLong(); size = in.readLong(); } }
@Override public Calendar readObject(ObjectInput input) throws IOException, ClassNotFoundException { return new Calendar.Builder() .setCalendarType(input.readUTF()) .setInstant(input.readLong()) .setLenient(input.readBoolean()) .setTimeZone(TimeZone.getTimeZone(input.readUTF())) .setWeekDefinition(input.readInt(), input.readInt()) .build(); }
/** {@inheritDoc} */ @SuppressWarnings("unchecked") @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); boolean b = in.readBoolean(); if (b) rmtFilterFactoryDep = (CacheContinuousQueryDeployableObject)in.readObject(); else rmtFilterFactory = (Factory)in.readObject(); types = in.readByte(); } }
protected void walkToLoad(ObjectInput byteArray) throws IOException, ClassNotFoundException { c = byteArray.readChar(); status = ARRAY_STATUS[byteArray.readInt()]; if (status == Status.WORD_END_3 || status == Status.WORD_MIDDLE_2) { value = (V) byteArray.readObject(); } int childSize = byteArray.readInt(); child = new BaseNode[childSize]; for (int i = 0; i < childSize; ++i) { child[i] = new Node<V>(); child[i].walkToLoad(byteArray); } }
/** {@inheritDoc} */ @Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException { cacheName = U.readString(in); filter = U.readString(in); regEx = in.readBoolean(); caseSensitive = in.readBoolean(); near = in.readBoolean(); loc = in.readBoolean(); pageSize = in.readInt(); }