Package org.opendaylight.protocol.pcep
Record Class PCEPTimerProposal
java.lang.Object
java.lang.Record
org.opendaylight.protocol.pcep.PCEPTimerProposal
public record PCEPTimerProposal(@NonNull org.opendaylight.yangtools.yang.common.Uint8 keepAlive, @NonNull org.opendaylight.yangtools.yang.common.Uint8 deadTimer)
extends Record
A curated 
keepAlive() and deadTimer() timer proposal.- 
Constructor SummaryConstructorsConstructorDescriptionPCEPTimerProposal(PcepSessionTimers timers) PCEPTimerProposal(@NonNull org.opendaylight.yangtools.yang.common.Uint8 keepAlive, @NonNull org.opendaylight.yangtools.yang.common.Uint8 deadTimer) Creates an instance of aPCEPTimerProposalrecord class.
- 
Method SummaryModifier and TypeMethodDescription@NonNull org.opendaylight.yangtools.yang.common.Uint8Returns the value of thedeadTimerrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NonNull org.opendaylight.yangtools.yang.common.Uint8Returns the value of thekeepAliverecord component.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
PCEPTimerProposalpublic PCEPTimerProposal(@NonNull org.opendaylight.yangtools.yang.common.Uint8 keepAlive, @NonNull org.opendaylight.yangtools.yang.common.Uint8 deadTimer) Creates an instance of aPCEPTimerProposalrecord class.- Parameters:
- keepAlive- the value for the- keepAliverecord component
- deadTimer- the value for the- deadTimerrecord component
 
- 
PCEPTimerProposal
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
keepAlivepublic @NonNull org.opendaylight.yangtools.yang.common.Uint8 keepAlive()Returns the value of thekeepAliverecord component.- Returns:
- the value of the keepAliverecord component
 
- 
deadTimerpublic @NonNull org.opendaylight.yangtools.yang.common.Uint8 deadTimer()Returns the value of thedeadTimerrecord component.- Returns:
- the value of the deadTimerrecord component
 
 
-