Java FileLock releaseQuietly(FileLock lock)

Here you can find the source of releaseQuietly(FileLock lock)

Description

release Quietly

License

Apache License

Declaration

static void releaseQuietly(FileLock lock) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.nio.channels.FileLock;

public class Main {
    static void releaseQuietly(FileLock lock) {
        try {/*from   ww w  .ja  va 2s .c  o  m*/
            lock.release();
        } catch (Throwable t) {
        }
    }
}

Related

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