java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.Info
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theblocksLatency
record component.Returns the value of thechainOrderBoundary
record component.Returns the value of theendpoints
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thelastBlockTime
record component.latency()
Returns the value of thelatency
record component.Returns the value of themessagesLatency
record component.Returns the value of therempEnabled
record component.time()
Returns the value of thetime
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thetransactionsLatency
record component.version()
Returns the value of theversion
record 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 aInfo
record class.- Parameters:
version
- the value for theversion
record componenttime
- the value for thetime
record componentblocksLatency
- the value for theblocksLatency
record componentmessagesLatency
- the value for themessagesLatency
record componenttransactionsLatency
- the value for thetransactionsLatency
record componentlatency
- the value for thelatency
record componentlastBlockTime
- the value for thelastBlockTime
record componentendpoints
- the value for theendpoints
record componentchainOrderBoundary
- the value for thechainOrderBoundary
record componentrempEnabled
- the value for therempEnabled
record 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 theversion
record component.- Returns:
- the value of the
version
record component
-
time
Returns the value of thetime
record component.- Returns:
- the value of the
time
record component
-
blocksLatency
Returns the value of theblocksLatency
record component.- Returns:
- the value of the
blocksLatency
record component
-
messagesLatency
Returns the value of themessagesLatency
record component.- Returns:
- the value of the
messagesLatency
record component
-
transactionsLatency
Returns the value of thetransactionsLatency
record component.- Returns:
- the value of the
transactionsLatency
record component
-
latency
Returns the value of thelatency
record component.- Returns:
- the value of the
latency
record component
-
lastBlockTime
Returns the value of thelastBlockTime
record component.- Returns:
- the value of the
lastBlockTime
record component
-
endpoints
-
chainOrderBoundary
Returns the value of thechainOrderBoundary
record component.- Returns:
- the value of the
chainOrderBoundary
record component
-
rempEnabled
Returns the value of therempEnabled
record component.- Returns:
- the value of the
rempEnabled
record component
-