public static Integer readInteger(DataInput in) throws IOException {
    InternalDataSerializer.checkIn(in);

    Integer value = in.readInt();
    if (logger.isTraceEnabled(LogMarker.SERIALIZER_VERBOSE)) {
      logger.trace(LogMarker.SERIALIZER_VERBOSE, "Read Integer {}", value);
    }
    return value;
  }
Reads an instance of <code>Integer</code> from a <code>DataInput</code>.

@param in the {@link DataInput} to read from
@return the deserialized <code>Integer</code>

@throws IOException A problem occurs while reading from <code>in</code>
geode-core/src/main/java/org/apache/geode/DataSerializer.java