Record Class ProposalStore.Minted
java.lang.Object
java.lang.Record
com.eqixiac.equinix.mcp.server.broker.ProposalStore.Minted
- Record Components:
change- the new pending proposalevicted- proposals evicted (oldest first) to stay within capacity; usually empty
- Enclosing class:
ProposalStore
public static record ProposalStore.Minted(PendingChange change, List<PendingChange> evicted)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMinted(PendingChange change, List<PendingChange> evicted) Creates an instance of aMintedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionchange()Returns the value of thechangerecord component.final booleanIndicates whether some other object is "equal to" this one.evicted()Returns the value of theevictedrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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). -
change
-
evicted
-