/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException { cnt = in.readInt(); initCnt = in.readInt(); autoDel = in.readBoolean(); gridStartTime = in.readLong(); }
/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { plannerCls = (String)in.readObject(); extExec = in.readBoolean(); maxParallelTasks = in.readInt(); maxTaskQueueSize = in.readInt(); libNames = (String[])in.readObject(); cores = in.readInt(); }
@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(); }
/** {@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(); }
/** {@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 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(); }
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { this.hashingStrategy = (HashingStrategy<? super K>) in.readObject(); int size = in.readInt(); this.loadFactor = in.readFloat(); this.init(Math.max((int) (size / this.loadFactor) + 1, DEFAULT_INITIAL_CAPACITY)); for (int i = 0; i < size; i++) { this.put((K) in.readObject(), (V) in.readObject()); } }
public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException { maximumSize = in.readInt(); int size = in.readInt(); for( int i = 0; i < size; i++ ) { Object key = in.readObject(); Object value = in.readObject(); put(key,value); } }
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); /** * @deprecated in 5.1.0. */ in.readFloat(); for (int i = 0; i < size; i++) { this.put(in.readInt(), in.readBoolean()); } }
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); /** * @deprecated in 5.1.0. */ in.readFloat(); int capacity = this.smallestPowerOfTwoGreaterThan(this.fastCeil(size * OCCUPIED_DATA_RATIO)); this.allocateTable(capacity); for (int i = 0; i < size; i++) { this.put((K) in.readObject(), in.readBoolean()); } }
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); /** * @deprecated in 5.1.0. */ in.readFloat(); for (int i = 0; i < size; i++) { this.put(in.readLong(), in.readBoolean()); } }
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); /** * @deprecated in 5.1.0. */ in.readFloat(); for (int i = 0; i < size; i++) { this.put(in.readByte(), in.readBoolean()); } }
/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { type = HadoopTaskType.fromOrdinal(in.readByte()); jobId = (HadoopJobId)in.readObject(); taskNum = in.readInt(); attempt = in.readInt(); inputSplit = (HadoopInputSplit)in.readObject(); if (in.readBoolean()) { mapperIdxSet = true; mapperIdx = in.readInt(); } else mapperIdxSet = false; }
/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { userFunc = in.readObject(); partitions = in.readInt(); overrideFlags = in.readByte(); baseFunc = (AffinityFunction)in.readObject(); }
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); for (int i = 0; i < size; i++) { this.put(in.readLong(), (V) in.readObject()); } }
/** {@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(); } }