@Override
  public int hashCode() {
    final int prime = 31;
    int result = 1;
    result = prime * result + ((info == null) ? 0 : info.getClassName().hashCode());
    result = prime * result + ((info == null) ? 0 : info.getIdentityHashCode());
    result = prime * result + ((locatility == null) ? 0 : locatility.hashCode());
    return result;
  }
This class is serializable version of the java 1.6 lock info class. It also holds a locality
field to identify the VM where the lock is held.
geode-core/src/main/java/org/apache/geode/distributed/internal/deadlock/LocalLockInfo.java