Package org.ldk.structs
Class FilesystemStore
- java.lang.Object
-
- org.ldk.structs.FilesystemStore
-
public class FilesystemStore extends Object
A [`KVStore`] implementation that writes to and reads from the file system.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KVStoreas_KVStore()Constructs a new KVStore which calls the relevant methods on this_arg.protected voidfinalize()Stringget_data_dir()Returns the data directory.static FilesystemStoreof(String data_dir)Constructs a new [`FilesystemStore`].
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
of
public static FilesystemStore of(String data_dir)
Constructs a new [`FilesystemStore`].
-
get_data_dir
public String get_data_dir()
Returns the data directory.
-
as_KVStore
public KVStore as_KVStore()
Constructs a new KVStore which calls the relevant methods on this_arg. This copies the `inner` pointer in this_arg and thus the returned KVStore must be freed before this_arg is
-
-