@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    OffHeapEmbeddedMetadata that = (OffHeapEmbeddedMetadata) o;

    if (version != null ? !version.equals(that.version) : that.version != null) return false;

    return true;
  }
 @Override
 public int hashCode() {
   return version != null ? version.hashCode() : 0;
 }