Java FileLock releaseSilent(FileLock fileLock)

Here you can find the source of releaseSilent(FileLock fileLock)

Description

release Silent

License

Open Source License

Declaration

public static void releaseSilent(FileLock fileLock) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.io.IOException;

import java.nio.channels.FileLock;

public class Main {
    public static void releaseSilent(FileLock fileLock) {
        if (fileLock != null) {
            try {
                fileLock.release();//w  w  w. ja v a  2s  .  c  o m
            } catch (IOException ex) {
            }
        }
    }
}

Related

  1. lockFileExists(File file)
  2. openTcpSocket(boolean blocking)
  3. pauseForLock(File f, int frequency, int totalTime)
  4. releaseQuietly(FileLock lock)
  5. releaseQuietly(final FileLock lock)
  6. setNonBlockingFD(Channel c, boolean blocking)
  7. tryLock(File file)
  8. trylock(File file, boolean shared)
  9. tryLock(File location)