Record Class ConfigP29

java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.ConfigP29

public record ConfigP29(Float attempt_duration, Float catchain_max_deps, Float consensus_timeout_ms, Float fast_attempts, Float max_block_bytes, Float max_collated_bytes, Boolean new_catchain_ids, Float next_candidate_delay_ms, Float round_candidates) extends Record
Consensus config;
  • Constructor Details

    • ConfigP29

      public ConfigP29(Float attempt_duration, Float catchain_max_deps, Float consensus_timeout_ms, Float fast_attempts, Float max_block_bytes, Float max_collated_bytes, Boolean new_catchain_ids, Float next_candidate_delay_ms, Float round_candidates)
      Creates an instance of a ConfigP29 record class.
      Parameters:
      attempt_duration - the value for the attempt_duration record component
      catchain_max_deps - the value for the catchain_max_deps record component
      consensus_timeout_ms - the value for the consensus_timeout_ms record component
      fast_attempts - the value for the fast_attempts record component
      max_block_bytes - the value for the max_block_bytes record component
      max_collated_bytes - the value for the max_collated_bytes record component
      new_catchain_ids - the value for the new_catchain_ids record component
      next_candidate_delay_ms - the value for the next_candidate_delay_ms record component
      round_candidates - the value for the round_candidates record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • attempt_duration

      public Float attempt_duration()
      Returns the value of the attempt_duration record component.
      Returns:
      the value of the attempt_duration record component
    • catchain_max_deps

      public Float catchain_max_deps()
      Returns the value of the catchain_max_deps record component.
      Returns:
      the value of the catchain_max_deps record component
    • consensus_timeout_ms

      public Float consensus_timeout_ms()
      Returns the value of the consensus_timeout_ms record component.
      Returns:
      the value of the consensus_timeout_ms record component
    • fast_attempts

      public Float fast_attempts()
      Returns the value of the fast_attempts record component.
      Returns:
      the value of the fast_attempts record component
    • max_block_bytes

      public Float max_block_bytes()
      Returns the value of the max_block_bytes record component.
      Returns:
      the value of the max_block_bytes record component
    • max_collated_bytes

      public Float max_collated_bytes()
      Returns the value of the max_collated_bytes record component.
      Returns:
      the value of the max_collated_bytes record component
    • new_catchain_ids

      public Boolean new_catchain_ids()
      Returns the value of the new_catchain_ids record component.
      Returns:
      the value of the new_catchain_ids record component
    • next_candidate_delay_ms

      public Float next_candidate_delay_ms()
      Returns the value of the next_candidate_delay_ms record component.
      Returns:
      the value of the next_candidate_delay_ms record component
    • round_candidates

      public Float round_candidates()
      Returns the value of the round_candidates record component.
      Returns:
      the value of the round_candidates record component