public class FileLock extends Object
public FileLock(File clientDir, String lockFilename) throws Exception
clientDir - the a File of the directory to contain the lock file.lockFilename - name of the the file to lockException - if the lock could not be obtained for any reasonCopyright © 2017 Eclipse Paho. All Rights Reserved.