@Override protected void setBooleans(short s, DataInput in) throws IOException, ClassNotFoundException { super.setBooleans(s, in); this.access = ((s & HAS_ACCESS) != 0); }
@Override protected void setBooleans(short s) { super.setBooleans(s); this.access = ((s & HAS_ACCESS) != 0); }
@Override protected void setBooleans(short s, DataInput in) throws IOException, ClassNotFoundException { super.setBooleans(s, in); if ((s & POS_DUP) != 0) { this.posDup = true; } }
@Override protected void setBooleans(short s) { super.setBooleans(s); this.posDup = ((s & POS_DUP) != 0); }
@Override protected void setBooleans(short s, DataInput in) throws ClassNotFoundException, IOException { super.setBooleans(s, in); this.estimate = ((s & ESTIMATE) != 0); }
/** * Fill out this instance of the message using the <code>DataInput</code> * Required to be a {@link com.gemstone.gemfire.DataSerializable}Note: must * be symmetric with {@link #toData(DataOutput)}in what it reads */ @Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); setBooleans(this.flags); this.regionId = in.readInt(); }
/** * Fill out this instance of the message using the <code>DataInput</code> * Required to be a {@link com.gemstone.gemfire.DataSerializable}Note: must * be symmetric with {@link #toData(DataOutput)}in what it reads */ @Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); this.flags = in.readShort(); setBooleans(this.flags, in); this.regionId = in.readInt(); // extra field post 9.0 if (InternalDataSerializer.getVersionForDataStream(in).compareTo( Version.GFE_90) >= 0) { this.isTransactionDistributed = in.readBoolean(); } }