Package org.ldk.structs
Class RetryAttempts
- java.lang.Object
-
- org.ldk.structs.RetryAttempts
-
public class RetryAttempts extends Object
Number of attempts to retry payment path failures for an [`Invoice`]. Note that this is the number of *path* failures, not full payment retries. For multi-path payments, if this is less than the total number of paths, we will never even retry all of the payment's paths.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RetryAttemptsclone()Creates a copy of the RetryAttemptsbooleaneq(RetryAttempts b)Checks if two RetryAttemptss contain equal inner contents.protected voidfinalize()longget_a()longhash()Checks if two RetryAttemptss contain equal inner contents.static RetryAttemptsof(long a_arg)Constructs a new RetryAttempts given each fieldvoidset_a(long val)
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
get_a
public long get_a()
-
set_a
public void set_a(long val)
-
of
public static RetryAttempts of(long a_arg)
Constructs a new RetryAttempts given each field
-
clone
public RetryAttempts clone()
Creates a copy of the RetryAttempts
-
eq
public boolean eq(RetryAttempts b)
Checks if two RetryAttemptss contain equal inner contents. This ignores pointers and is_owned flags and looks at the values in fields. Two objects with NULL inner values will be considered "equal" here.
-
hash
public long hash()
Checks if two RetryAttemptss contain equal inner contents.
-
-