Class SorobanDataBuilder.Resources

java.lang.Object
org.stellar.sdk.SorobanDataBuilder.Resources
Enclosing class:
SorobanDataBuilder

public static final class SorobanDataBuilder.Resources extends Object
Represents the resource metrics of the Soroban data.
  • Method Details

    • builder

    • toBuilder

    • getCpuInstructions

      @NonNull public @NonNull Long getCpuInstructions()
      number of CPU instructions (uint32)
      Returns:
      the number of CPU instructions
    • getDiskReadBytes

      @NonNull public @NonNull Long getDiskReadBytes()
      number of bytes read from the ledger (uint32)
      Returns:
      the number of bytes read from the ledger
    • getWriteBytes

      @NonNull public @NonNull Long getWriteBytes()
      number of bytes written to the ledger (uint32)
      Returns:
      the number of bytes written to the ledger
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object