Package org.apache.jena.dboe.base.file
Class ChannelManager
- java.lang.Object
-
- org.apache.jena.dboe.base.file.ChannelManager
-
public class ChannelManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ChannelManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.nio.channels.FileChannelacquire(java.lang.String filename)static java.nio.channels.FileChannelacquire(java.lang.String filename, java.lang.String mode)static voidrelease(java.lang.String filename)static voidrelease(java.nio.channels.FileChannel chan)static voidreleaseAll(java.lang.String prefix)Shutdown all the files matching the prefix (typically a directory)static voidreset()
-
-
-
Method Detail
-
acquire
public static java.nio.channels.FileChannel acquire(java.lang.String filename)
-
acquire
public static java.nio.channels.FileChannel acquire(java.lang.String filename, java.lang.String mode)
-
release
public static void release(java.lang.String filename)
-
release
public static void release(java.nio.channels.FileChannel chan)
-
reset
public static void reset()
-
releaseAll
public static void releaseAll(java.lang.String prefix)
Shutdown all the files matching the prefix (typically a directory)
-
-