public static VersionTag create(boolean persistent, DataInput in)
      throws IOException, ClassNotFoundException {
    VersionTag<?> tag;
    if (persistent) {
      tag = new DiskVersionTag();
    } else {
      tag = new VMVersionTag();
    }
    InternalDataSerializer.invokeFromData(tag, in);
    return tag;
  }
Creates a version tag of the appropriate type, based on the member id
geode-core/src/main/java/org/apache/geode/internal/cache/versions/VersionTag.java