/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { impl = (CacheEntryEventFilter)in.readObject(); types = in.readByte(); }
/** {@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 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(); }
/** {@inheritDoc} */ @Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException { seqName = U.readString(in); seqVal = in.readLong(); cacheName = U.readString(in); cacheId = in.readInt(); grpName = U.readString(in); grpId = in.readInt(); partitions = in.readInt(); mapped = in.readInt(); topVer = (AffinityTopologyVersion)in.readObject(); mode = CacheMode.fromOrdinal(in.readByte()); backupsCnt = in.readInt(); affinityClsName = U.readString(in); cachesCnt = in.readInt(); atomicityMode = protoVer >= V2 ? CacheAtomicityMode.fromOrdinal(in.readByte()) : null; }
/** {@inheritDoc} */ @Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); // Check null flag. if (size == -1) parts = null; else { parts = new HashMap<>(size, 1.0f); for (int i = 0; i < size; i++) parts.put(in.readInt(), GridDhtPartitionState.fromOrdinal(in.readByte())); } }
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { this.fixedLen = in.readInt(); this.roundingFlag = in.readInt(); this.defaultByte = in.readByte(); this.dict = (Dictionary<String>) in.readObject(); }
public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException { // VERSION in.readByte(); // SET _set = ( TByteSet ) in.readObject(); }
/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { isVal = in.readBoolean(); bVal = in.readByte(); cVal = in.readChar(); sVal = in.readShort(); intVal = in.readInt(); lVal = in.readLong(); fltVal = in.readFloat(); dblVal = in.readDouble(); strVal = (String)in.readObject(); arrVal = (Object[])in.readObject(); eVal = (TestJobEnum)in.readObject(); }
@SuppressWarnings({"unchecked"}) public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException { // VERSION in.readByte(); // NUMBER OF ENTRIED _size = in.readInt(); // HEAD _head = (T) in.readObject(); // TAIL _tail = (T) in.readObject(); }
public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException { // VERSION in.readByte(); // LIST list = ( TIntList ) in.readObject(); }
/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { isVal = in.readBoolean(); bVal = in.readByte(); cVal = in.readChar(); sVal = in.readShort(); intVal = in.readInt(); lVal = in.readLong(); fltVal = in.readFloat(); dblVal = in.readDouble(); strVal = (String)in.readObject(); arrVal = (Object[])in.readObject(); eVal = (TestJobEnum)in.readObject(); }
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); for (int i = 0; i < size; i++) { this.put(in.readByte(), (V) in.readObject()); } }