code: public static byte[] getLockData() {
      String str = String.format("%s:%s", HOST_NAME, Thread.currentThread().getName());
      return str.getBytes(UTF8);
    }
docs: Returns lock data in a form of "hostname:threadName"