class LockCleaner extends ServerLockCleaner {

  public boolean shouldCleanLock(ThemisLock lock) throws IOException {
    boolean isWorkerAlive = register.isWorkerAlive(lock.getClientAddress());
    if (!isWorkerAlive) {
      LOG.warn("worker, address=" + lock.getClientAddress() + " is not alive");
      return true;
    }
    return lock.isLockExpired();
  }

  public  LockCleaner(Configuration conf, HConnection conn, WorkerRegister register,
      ThemisCoprocessorClient cpClient);

}