|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.store.fs.FileSystem
org.h2.store.fs.FileSystemDisk
org.h2.store.fs.FileSystemDiskNio
org.h2.store.fs.FileSystemDiskNioMapped
public class FileSystemDiskNioMapped
This file system stores files on disk and uses java.nio to access the files. This class used memory mapped files.
| Field Summary |
|---|
| Fields inherited from class org.h2.store.fs.FileSystem |
|---|
PREFIX_MEMORY, PREFIX_MEMORY_LZF, PREFIX_NIO, PREFIX_NIO_MAPPED, PREFIX_SPLIT, PREFIX_ZIP |
| Constructor Summary | |
|---|---|
FileSystemDiskNioMapped()
|
|
| Method Summary | |
|---|---|
static FileSystemDisk |
getInstance()
|
protected java.lang.String |
getPrefix()
Get the prefix for this file system. |
protected FileObject |
open(java.lang.String fileName,
java.lang.String mode)
Try to open a file with this name and mode. |
| Methods inherited from class org.h2.store.fs.FileSystemDiskNio |
|---|
createTempFile, getAbsolutePath, getParent, listFiles, normalize, openFileInputStream, openFileObject, translateFileName |
| Methods inherited from class org.h2.store.fs.FileSystemDisk |
|---|
canWrite, copy, createDirs, createNewFile, delete, deleteRecursive, exists, fileStartsWith, freeMemoryAndFinalize, getFileName, getLastModified, isAbsolute, isDirectory, isReadOnly, length, openFileOutputStream, rename, trace, tryDelete |
| Methods inherited from class org.h2.store.fs.FileSystem |
|---|
accepts, getInstance, mkdirs, register, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileSystemDiskNioMapped()
| Method Detail |
|---|
public static FileSystemDisk getInstance()
protected java.lang.String getPrefix()
FileSystemDiskNio
getPrefix in class FileSystemDiskNio
protected FileObject open(java.lang.String fileName,
java.lang.String mode)
throws java.io.IOException
FileSystemDiskNio
open in class FileSystemDiskNiofileName - the file namemode - the open mode
java.io.IOException - if opening fails
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||