java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.Info
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theblocksLatencyrecord component.Returns the value of thechainOrderBoundaryrecord component.Returns the value of theendpointsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelastBlockTimerecord component.latency()Returns the value of thelatencyrecord component.Returns the value of themessagesLatencyrecord component.Returns the value of therempEnabledrecord component.time()Returns the value of thetimerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransactionsLatencyrecord component.version()Returns the value of theversionrecord component.
-
Constructor Details
-
Info
public Info(String version, Float time, Float blocksLatency, Float messagesLatency, Float transactionsLatency, Float latency, Float lastBlockTime, List<String> endpoints, String chainOrderBoundary, Boolean rempEnabled) Creates an instance of aInforecord class.- Parameters:
version- the value for theversionrecord componenttime- the value for thetimerecord componentblocksLatency- the value for theblocksLatencyrecord componentmessagesLatency- the value for themessagesLatencyrecord componenttransactionsLatency- the value for thetransactionsLatencyrecord componentlatency- the value for thelatencyrecord componentlastBlockTime- the value for thelastBlockTimerecord componentendpoints- the value for theendpointsrecord componentchainOrderBoundary- the value for thechainOrderBoundaryrecord componentrempEnabled- the value for therempEnabledrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
time
Returns the value of thetimerecord component.- Returns:
- the value of the
timerecord component
-
blocksLatency
Returns the value of theblocksLatencyrecord component.- Returns:
- the value of the
blocksLatencyrecord component
-
messagesLatency
Returns the value of themessagesLatencyrecord component.- Returns:
- the value of the
messagesLatencyrecord component
-
transactionsLatency
Returns the value of thetransactionsLatencyrecord component.- Returns:
- the value of the
transactionsLatencyrecord component
-
latency
Returns the value of thelatencyrecord component.- Returns:
- the value of the
latencyrecord component
-
lastBlockTime
Returns the value of thelastBlockTimerecord component.- Returns:
- the value of the
lastBlockTimerecord component
-
endpoints
-
chainOrderBoundary
Returns the value of thechainOrderBoundaryrecord component.- Returns:
- the value of the
chainOrderBoundaryrecord component
-
rempEnabled
Returns the value of therempEnabledrecord component.- Returns:
- the value of the
rempEnabledrecord component
-