Package org.ldk.structs
Class WriteableScore
- java.lang.Object
-
- org.ldk.structs.WriteableScore
-
public class WriteableScore extends Object
Refers to a scorer that is accessible under lock and also writeable to disk We need this trait to be able to pass in a scorer to `lightning-background-processor` that will enable us to use the Persister to persist it.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWriteableScore.WriteableScoreInterface
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()LockableScoreget_lockable_score()Gets the underlying LockableScore.static WriteableScorenew_impl(WriteableScore.WriteableScoreInterface arg, LockableScore.LockableScoreInterface LockableScore_impl)byte[]write()Serialize the object into a byte array
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
new_impl
public static WriteableScore new_impl(WriteableScore.WriteableScoreInterface arg, LockableScore.LockableScoreInterface LockableScore_impl)
-
get_lockable_score
public LockableScore get_lockable_score()
Gets the underlying LockableScore.
-
write
public byte[] write()
Serialize the object into a byte array
-
-