private void initOpState(byte opCode, DiskRegionView dr, DiskEntry entry, ValueWrapper value,
      byte userBits, boolean notToUseUserBits) throws IOException {
    opState.initialize(opCode, dr, entry, value, userBits, notToUseUserBits);
  }
This function records all the data for the current op into this.opState.

@param opCode The int value identifying whether it is create/modify or delete operation
@param entry The DiskEntry object being operated upon
@param value The byte array representing the value
geode-core/src/main/java/org/apache/geode/internal/cache/Oplog.java