class ThemisLock implements Writable {

  @Override
  public boolean equals(Object object) {
    if (!(object instanceof ThemisLock)) {
      return false;
    }
    ThemisLock lock = (ThemisLock)object;
    return this.type == lock.type && this.timestamp == lock.timestamp
        && this.wallTime == lock.wallTime && this.clientAddress.equals(lock.clientAddress);
  }

  protected  ThemisLock();
  public  ThemisLock(Type type);

}