/** * {@inheritDoc} */ @Override public int readUnsignedByte() throws IOException { return this.in.readUnsignedByte(); }
/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { nodeId = U.readUuid(in); updateSeq = in.readLong(); int size = in.readInt(); map = new GridPartitionStateMap(); for (int i = 0; i < size; i++) { int ordinal = in.readUnsignedByte(); int part = in.readUnsignedShort(); put(part, GridDhtPartitionState.fromOrdinal(ordinal)); } long ver = in.readLong(); int minorVer = in.readInt(); if (ver != 0) top = new AffinityTopologyVersion(ver, minorVer); }
int flags = in.readUnsignedByte(); boolean sbEnabled = (flags & NPD_ENABLED_BIT) != 0; boolean elCoord = (flags & COORD_ENABLED_BIT) != 0;
public int readUnsignedByte() throws IOException { return in.readUnsignedByte(); } public int readUnsignedShort() throws IOException {
/** * {@inheritDoc} */ @Override public int readUnsignedByte() throws IOException { return this.in.readUnsignedByte(); }
/** * {@inheritDoc} */ @Override public int readUnsignedByte() throws IOException { return this.in.readUnsignedByte(); }
@Override public int readUnsignedByte() throws IOException { return in.readUnsignedByte(); }
public int readUnsignedByte() throws IOException { return input.readUnsignedByte(); }
@Override public int readUnsignedByte() throws IOException { return decorated.readUnsignedByte(); }
@Override public int readUnsignedByte() throws IOException { return mIn.readUnsignedByte(); }
@Override public int readUnsignedByte() throws IOException { return objectInput.readUnsignedByte(); }
@Override public int readUnsignedByte() throws IOException { return decorated.readUnsignedByte(); }
public int readUnsignedByte() throws IOException { return input.readUnsignedByte(); }
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { checksumAlgo = (byte) in.readUnsignedByte(); dataLength = in.readInt(); checksumValue = in.readLong(); initializeChecksumAlgo(); }
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { checksumAlgo = (byte) in.readUnsignedByte(); dataLength = in.readInt(); checksumValue = in.readLong(); initializeChecksumAlgo(); }
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { checksumAlgo = (byte) in.readUnsignedByte(); dataLength = in.readInt(); checksumValue = in.readLong(); initializeChecksumAlgo(); }
@Override public Set readObject(ObjectInput input) throws IOException, ClassNotFoundException { int magicNumber = input.readUnsignedByte(); switch (magicNumber) { case HASH_SET: return MarshallUtil.unmarshallCollection(input, s -> new HashSet<>()); case TREE_SET: Comparator<Object> comparator = (Comparator<Object>) input.readObject(); return MarshallUtil.unmarshallCollection(input, s -> new TreeSet<>(comparator)); default: throw new IllegalStateException("Unknown Set type: " + magicNumber); } }
@Override public List readObject(ObjectInput input) throws IOException, ClassNotFoundException { int magicNumber = input.readUnsignedByte(); switch (magicNumber) { case ARRAY_LIST: return MarshallUtil.unmarshallCollection(input, ArrayList::new); case LINKED_LIST: return MarshallUtil.unmarshallCollection(input, s -> new LinkedList<>()); default: throw new IllegalStateException("Unknown List type: " + magicNumber); } }
public int readUnsignedByte() throws IOException { trace("start readLong()"); int value = oi.readUnsignedByte(); trace("end readUnsignedByte()="+ value); return value; }
public int readUnsignedByte() throws IOException { trace("start readLong()"); int value = oi.readUnsignedByte(); trace("end readUnsignedByte()="+ value); return value; }