@InterfaceAudience.Private
  public static WALEdit createRegionEventWALEdit(byte[] rowForRegion,
    RegionEventDescriptor regionEventDesc) {
    KeyValue kv = new KeyValue(rowForRegion, METAFAMILY,
      createRegionEventDescriptorQualifier(regionEventDesc.getEventType()),
      EnvironmentEdgeManager.currentTime(), regionEventDesc.toByteArray());
    return new WALEdit().add(kv, METAFAMILY);
  }
@return A meta Marker WALEdit that has a single Cell whose value is the passed in
        <code>regionEventDesc</code> serialized and whose row is this region, columnfamily is
        {@link #METAFAMILY} and qualifier is {@link #REGION_EVENT_PREFIX} +
        {@link RegionEventDescriptor#getEventType()}; for example
        HBASE::REGION_EVENT::REGION_CLOSE.
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALEdit.java