code: @Override
  	public void write(DataOutput out) throws IOException {
  		out.writeInt(this.partitionNumber);
  		out.writeInt(this.totalNumberOfPartitions);
  	}
docs: --------------------------------------------------------------------------------------------