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) |
static ParallelTxsComponent |
decode(XdrDataInputStream stream,
int maxDepth) |
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, toXdrByteArraypublic ParallelTxsComponent()
public ParallelTxsComponent(Int64 baseFee, ParallelTxExecutionStage[] executionStages)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static ParallelTxsComponent decode(XdrDataInputStream stream, int maxDepth) throws java.io.IOException
java.io.IOExceptionpublic static ParallelTxsComponent decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static ParallelTxsComponent fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static ParallelTxsComponent fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic 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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object