Top Description Fields Constructors Methods
org.h2.store.fs.niomem

public Class FilePathNioMemLZF

extends FilePathNioMem
Class Inheritance

A memory file system that compresses blocks to conserve memory.

Field Summary

Inherited from org.h2.store.fs.niomem.FilePathNioMem:
compressLaterCachePercent

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
compressed()

Overrides org.h2.store.fs.niomem.FilePathNioMem.compressed.

Whether the file should be compressed.

public FilePathNioMem
getPath(String
the path
path
)

Overrides org.h2.store.fs.niomem.FilePathNioMem.getPath.

Convert a file to a path.

public String
getScheme()

Overrides org.h2.store.fs.niomem.FilePathNioMem.getScheme.

Get the scheme (prefix) for this file provider.

protected boolean
Inherited from org.h2.store.fs.niomem.FilePathNioMem:
canWritecreateDirectorycreateFiledeleteexistsgetCanonicalPathgetParentisAbsoluteisDirectoryisRegularFilelastModifiedmoveTonewDirectoryStreamopensetReadOnlysizetoRealPath

Constructor Detail

FilePathNioMemLZFback to summary
public FilePathNioMemLZF()

Method Detail

compressedback to summary
pack-priv boolean compressed()

Overrides org.h2.store.fs.niomem.FilePathNioMem.compressed.

Doc from org.h2.store.fs.niomem.FilePathNioMem.compressed.

Whether the file should be compressed.

Returns:boolean

true if it should be compressed.

Annotations
@Override
getPathback to summary
public FilePathNioMem getPath(String path)

Overrides org.h2.store.fs.niomem.FilePathNioMem.getPath.

Doc from org.h2.store.fs.FilePath.getPath.

Convert a file to a path. This is similar to java.nio.file.spi.FileSystemProvider.getPath, but may return an object even if the scheme doesn't match in case of the default file provider.

Parameters
path:String

the path

Returns:FilePathNioMem

the file path object

Annotations
@Override
getSchemeback to summary
public String getScheme()

Overrides org.h2.store.fs.niomem.FilePathNioMem.getScheme.

Doc from org.h2.store.fs.FilePath.getScheme.

Get the scheme (prefix) for this file provider. This is similar to java.nio.file.spi.FileSystemProvider.getScheme.

Returns:String

the scheme

Annotations
@Override
isRootback to summary
protected boolean isRoot()

Overrides org.h2.store.fs.niomem.FilePathNioMem.isRoot.

Annotations
@Override