public class ParallelTxsComponent extends java.lang.Object implements XdrElement
struct ParallelTxsComponent { int64* baseFee; // A sequence of stages that *may* have arbitrary data dependencies between // each other, i.e. in a general case the stage execution order may not be // arbitrarily shuffled without affecting the end result. ParallelTxExecutionStage executionStages<>; };
Modifier and Type | Class and Description |
---|---|
static class |
ParallelTxsComponent.ParallelTxsComponentBuilder |
Constructor and Description |
---|
ParallelTxsComponent() |
ParallelTxsComponent(Int64 baseFee,
ParallelTxExecutionStage[] executionStages) |
Modifier and Type | Method and Description |
---|---|
static ParallelTxsComponent.ParallelTxsComponentBuilder |
builder() |
static ParallelTxsComponent |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static ParallelTxsComponent |
fromXdrBase64(java.lang.String xdr) |
static ParallelTxsComponent |
fromXdrByteArray(byte[] xdr) |
Int64 |
getBaseFee() |
ParallelTxExecutionStage[] |
getExecutionStages() |
int |
hashCode() |
void |
setBaseFee(Int64 baseFee) |
void |
setExecutionStages(ParallelTxExecutionStage[] executionStages) |
ParallelTxsComponent.ParallelTxsComponentBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public ParallelTxsComponent()
public ParallelTxsComponent(Int64 baseFee, ParallelTxExecutionStage[] executionStages)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static ParallelTxsComponent decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static ParallelTxsComponent fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static ParallelTxsComponent fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static ParallelTxsComponent.ParallelTxsComponentBuilder builder()
public ParallelTxsComponent.ParallelTxsComponentBuilder toBuilder()
public Int64 getBaseFee()
public ParallelTxExecutionStage[] getExecutionStages()
public void setBaseFee(Int64 baseFee)
public void setExecutionStages(ParallelTxExecutionStage[] executionStages)
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