org.tmatesoft.sqljet.core.internal.fs
Class SqlJetFileLock

java.lang.Object
  extended by java.nio.channels.FileLock
      extended by org.tmatesoft.sqljet.core.internal.fs.SqlJetFileLock

public class SqlJetFileLock
extends java.nio.channels.FileLock


Constructor Summary
SqlJetFileLock(SqlJetFileLockManager manager, java.nio.channels.FileLock fileLock)
           
 
Method Summary
 void addLock()
           
 boolean isValid()
           
 void release()
           
 
Methods inherited from class java.nio.channels.FileLock
channel, isShared, overlaps, position, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SqlJetFileLock

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

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()