Record Class GossipRouter.Entry
java.lang.Object
java.lang.Record
org.jgroups.stack.GossipRouter.Entry
- Enclosing class:
GossipRouter
protected static record GossipRouter.Entry(Address client_addr, PhysicalAddress phys_addr, String logical_name)
extends Record
- Since:
- 2.1.1
- Author:
- Bela Ban, Vladimir Blagojevic, Ovidiu Feodorov ovidiuf@users.sourceforge.net
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEntry(Address client_addr, PhysicalAddress phys_addr, String logical_name) Creates an instance of aEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclient_addrrecord 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 thelogical_namerecord component.Returns the value of thephys_addrrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
Entry
Creates an instance of aEntryrecord class.- Parameters:
client_addr- the value for theclient_addrrecord componentphys_addr- the value for thephys_addrrecord componentlogical_name- the value for thelogical_namerecord 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). -
client_addr
Returns the value of theclient_addrrecord component.- Returns:
- the value of the
client_addrrecord component
-
phys_addr
Returns the value of thephys_addrrecord component.- Returns:
- the value of the
phys_addrrecord component
-
logical_name
Returns the value of thelogical_namerecord component.- Returns:
- the value of the
logical_namerecord component
-