Package org.ldk.structs
Class ChannelManagerPersister
- java.lang.Object
-
- org.ldk.structs.ChannelManagerPersister
-
public class ChannelManagerPersister extends Object
Trait which handles persisting a [`ChannelManager`] to disk. [`ChannelManager`]: lightning::ln::channelmanager::ChannelManager
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ChannelManagerPersister.ChannelManagerPersisterInterface
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
finalize()
static ChannelManagerPersister
new_impl(ChannelManagerPersister.ChannelManagerPersisterInterface arg)
Result_NoneErrorZ
persist_manager(ChannelManager channel_manager)
Persist the given [`ChannelManager`] to disk, returning an error if persistence failed (which will cause the [`BackgroundProcessor`] which called this method to exit.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
new_impl
public static ChannelManagerPersister new_impl(ChannelManagerPersister.ChannelManagerPersisterInterface arg)
-
persist_manager
public Result_NoneErrorZ persist_manager(ChannelManager channel_manager)
Persist the given [`ChannelManager`] to disk, returning an error if persistence failed (which will cause the [`BackgroundProcessor`] which called this method to exit. [`ChannelManager`]: lightning::ln::channelmanager::ChannelManager
-
-