docs: FileLock acquireLock(File lockFile, FileChannel channel) {
          FileLock fileLock = null;
          try {
              fileLock = channel.tryLock();
              if (fileLock != null) {
                  return fileLock;
              }
              throw new HazelcastException("Cannot acquire lock on " + lockFile.getAbsolutePath()
                      + ". File is already being used by another Hazelcast instance.");
          } catch (OverlappingFileLockException e) {
              throw new HazelcastException("Cannot acquire lock on " + lockFile.getAbsolutePath()
                      + ". File is already being used by this Hazelcast instance.", e);
          } catch (IOException e) {
              throw new HazelcastException("Unknown failure while acquiring lock on " + lockFile.getAbsolutePath(), e);
          } finally {
              if (fileLock == null) {
                  closeResource(channel);
              }
          }
      }