public class TTLEntry extends java.lang.Object implements XdrElement
struct TTLEntry { // Hash of the LedgerKey that is associated with this TTLEntry Hash keyHash; uint32 liveUntilLedgerSeq; };
Modifier and Type | Class and Description |
---|---|
static class |
TTLEntry.TTLEntryBuilder |
Constructor and Description |
---|
TTLEntry() |
TTLEntry(Hash keyHash,
Uint32 liveUntilLedgerSeq) |
Modifier and Type | Method and Description |
---|---|
static TTLEntry.TTLEntryBuilder |
builder() |
static TTLEntry |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static TTLEntry |
fromXdrBase64(java.lang.String xdr) |
static TTLEntry |
fromXdrByteArray(byte[] xdr) |
Hash |
getKeyHash() |
Uint32 |
getLiveUntilLedgerSeq() |
int |
hashCode() |
void |
setKeyHash(Hash keyHash) |
void |
setLiveUntilLedgerSeq(Uint32 liveUntilLedgerSeq) |
TTLEntry.TTLEntryBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static TTLEntry decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static TTLEntry fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static TTLEntry fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static TTLEntry.TTLEntryBuilder builder()
public TTLEntry.TTLEntryBuilder toBuilder()
public Hash getKeyHash()
public Uint32 getLiveUntilLedgerSeq()
public void setKeyHash(Hash keyHash)
public void setLiveUntilLedgerSeq(Uint32 liveUntilLedgerSeq)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object