Debian Codegraph @

src/main/org/h2/store/fs/mem/FilePathMemLZF.java

raw
1 /*
2 * Copyright 2004-2023 H2 Group. Multiple-Licensed under the MPL 2.0,
3 * and the EPL 1.0 (https://h2database.com/html/license.html).
4 * Initial Developer: H2 Group
5 */
6 package org.h2.store.fs.mem;
7
8 /**
9 * A memory file system that compresses blocks to conserve memory.
10 */
11 public class FilePathMemLZF extends FilePathMem {
12
13 @Override
14 public FilePathMem getPath(String path) {
15 FilePathMemLZF p = new FilePathMemLZF();
16 p.name = getCanonicalPath(path);
17 return p;
18 }
19
20 @Override
21 boolean compressed() {
22 return true;
23 }
24
25 @Override
26 public String getScheme() {
27 return "memLZF";
28 }
29
30 }