From a152467b8962909b06430ed8d10f63c8ade4c84f Mon Sep 17 00:00:00 2001 From: Peter Lawrey Date: Fri, 6 Aug 2021 14:59:16 +0100 Subject: [PATCH] Add direct support for sparse files under Linux #313 --- .../openhft/chronicle/set/ChronicleSetBuilderPrivateAPI.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/net/openhft/chronicle/set/ChronicleSetBuilderPrivateAPI.java b/src/main/java/net/openhft/chronicle/set/ChronicleSetBuilderPrivateAPI.java index ca9c5b7b1..ee7dbbfab 100644 --- a/src/main/java/net/openhft/chronicle/set/ChronicleSetBuilderPrivateAPI.java +++ b/src/main/java/net/openhft/chronicle/set/ChronicleSetBuilderPrivateAPI.java @@ -143,4 +143,9 @@ class ChronicleSetBuilderPrivateAPI public boolean skipCloseOnExitHook() { return mapB.skipCloseOnExitHook(); } + + @Override + public boolean sparseFile() { + return mapB.sparseFile(); + } }