// DO NOT modify this class. It was generated from LeafRegionEntry.cpp
 private void diskInitialize(RegionEntryContext context, Object value) {
   DiskRecoveryStore drs = (DiskRecoveryStore) context;
   DiskStoreImpl ds = drs.getDiskStore();
   long maxOplogSize = ds.getMaxOplogSize();
   // get appropriate instance of DiskId implementation based on maxOplogSize
   this.id = DiskId.createDiskId(maxOplogSize, true /* is persistence */, ds.needsLinkedList());
   Helper.initialize(this, drs, value);
 }
 //  // inlining DiskId
 //  // always have these fields
 //  /**
 //   * id consists of
 //   * most significant
 //   * 1 byte = users bits
 //   * 2-8 bytes = oplog id
 //   * least significant.
 //   *
 //   * The highest bit in the oplog id part is set to 1 if the oplog id
 //   * is negative.
 //   * @todo this field could be an int for an overflow only region
 //   */
 //  private long id;
 //  /**
 //   * Length of the bytes on disk.
 //   * This is always set. If the value is invalid then it will be set to 0.
 //   * The most significant bit is used by overflow to mark it as needing to be written.
 //   */
 //  protected int valueLength = 0;
 //  // have intOffset or longOffset
 //  // intOffset
 //  /**
 //   * The position in the oplog (the oplog offset) where this entry's value is
 //   * stored
 //   */
 //  private volatile int offsetInOplog;
 //  // longOffset
 //  /**
 //   * The position in the oplog (the oplog offset) where this entry's value is
 //   * stored
 //   */
 //  private volatile long offsetInOplog;
 //  // have overflowOnly or persistence
 //  // overflowOnly
 //  // no fields
 //  // persistent
 //  /** unique entry identifier * */
 //  private long keyId;
 // DO NOT modify this class. It was generated from LeafRegionEntry.cpp
 // lru code
 @Override
 public void setDelayedDiskId(LocalRegion r) {
   DiskStoreImpl ds = r.getDiskStore();
   long maxOplogSize = ds.getMaxOplogSize();
   this.id = DiskId.createDiskId(maxOplogSize, false /* over flow only */, ds.needsLinkedList());
 }