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 Summary
ConstructorsConstructorDescriptionConfigP29(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 aConfigP29record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattempt_durationrecord component.Returns the value of thecatchain_max_depsrecord component.Returns the value of theconsensus_timeout_msrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefast_attemptsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themax_block_bytesrecord component.Returns the value of themax_collated_bytesrecord component.Returns the value of thenew_catchain_idsrecord component.Returns the value of thenext_candidate_delay_msrecord component.Returns the value of theround_candidatesrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aConfigP29record class.- Parameters:
attempt_duration- the value for theattempt_durationrecord componentcatchain_max_deps- the value for thecatchain_max_depsrecord componentconsensus_timeout_ms- the value for theconsensus_timeout_msrecord componentfast_attempts- the value for thefast_attemptsrecord componentmax_block_bytes- the value for themax_block_bytesrecord componentmax_collated_bytes- the value for themax_collated_bytesrecord componentnew_catchain_ids- the value for thenew_catchain_idsrecord componentnext_candidate_delay_ms- the value for thenext_candidate_delay_msrecord componentround_candidates- the value for theround_candidatesrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
attempt_duration
Returns the value of theattempt_durationrecord component.- Returns:
- the value of the
attempt_durationrecord component
-
catchain_max_deps
Returns the value of thecatchain_max_depsrecord component.- Returns:
- the value of the
catchain_max_depsrecord component
-
consensus_timeout_ms
Returns the value of theconsensus_timeout_msrecord component.- Returns:
- the value of the
consensus_timeout_msrecord component
-
fast_attempts
Returns the value of thefast_attemptsrecord component.- Returns:
- the value of the
fast_attemptsrecord component
-
max_block_bytes
Returns the value of themax_block_bytesrecord component.- Returns:
- the value of the
max_block_bytesrecord component
-
max_collated_bytes
Returns the value of themax_collated_bytesrecord component.- Returns:
- the value of the
max_collated_bytesrecord component
-
new_catchain_ids
Returns the value of thenew_catchain_idsrecord component.- Returns:
- the value of the
new_catchain_idsrecord component
-
next_candidate_delay_ms
Returns the value of thenext_candidate_delay_msrecord component.- Returns:
- the value of the
next_candidate_delay_msrecord component
-
round_candidates
Returns the value of theround_candidatesrecord component.- Returns:
- the value of the
round_candidatesrecord component
-