Class SqlJetFileLock

java.lang.Object
java.nio.channels.FileLock
org.tmatesoft.sqljet.core.internal.fs.SqlJetFileLock
All Implemented Interfaces:
java.lang.AutoCloseable

public class SqlJetFileLock extends java.nio.channels.FileLock
Author:
TMate Software Ltd., Sergey Scherbina (sergey.scherbina@gmail.com)
  • Constructor Summary

    Constructors
    Constructor
    Description
    SqlJetFileLock(SqlJetFileLockManager manager, java.nio.channels.FileLock fileLock)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
     
    void
     

    Methods inherited from class java.nio.channels.FileLock

    acquiredBy, channel, close, isShared, overlaps, position, size, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SqlJetFileLock

      public SqlJetFileLock(SqlJetFileLockManager manager, java.nio.channels.FileLock fileLock)
      Parameters:
      channel -
      position -
      size -
      shared -
  • Method Details

    • isValid

      public boolean isValid()
      Specified by:
      isValid in class java.nio.channels.FileLock
    • release

      public void release() throws java.io.IOException
      Specified by:
      release in class java.nio.channels.FileLock
      Throws:
      java.io.IOException
    • addLock

      public void addLock()