Code example for FileLock

Methods: isValid

0
        } 
 
    } 
 
    public boolean keepAlive() { 
        return lock != null && lock.isValid() && file.exists();
    } 
 
}