public class ChannelManager extends Object
| Constructor and Description |
|---|
ChannelManager() |
| Modifier and Type | Method and Description |
|---|---|
static FileChannel |
acquire(String filename) |
static FileChannel |
acquire(String filename,
String mode) |
static void |
release(FileChannel chan) |
static void |
release(String filename) |
static void |
releaseAll(String prefix)
Shutdown all the files matching the prefix (typically a directory)
|
static void |
reset() |
public static FileChannel acquire(String filename)
public static FileChannel acquire(String filename, String mode)
public static void release(String filename)
public static void release(FileChannel chan)
public static void reset()
public static void releaseAll(String prefix)
Licensed under the Apache License, Version 2.0