Record Class NeighbourDown
java.lang.Object
java.lang.Record
pt.unl.fct.di.novasys.babel2.core.membership.events.NeighbourDown
- Record Components:
node- the remote node that has left the overlay
- All Implemented Interfaces:
BabelEvent, ProtocolEvent
ProtocolEvent emitted by a
MembershipProviderBabelProtocol when a neighbour has left or become
unreachable.
The event is dispatched via
MembershipProviderBabelProtocol.neighbourDown(Babel, BabelNode) and delivered to all
registered MembershipConsumerBabelProtocol instances by the
MembershipConsumerExtension, which calls
MembershipConsumerBabelProtocol.neigbourDown(BabelNode).
-
Constructor Summary
ConstructorsConstructorDescriptionNeighbourDown(BabelNode node) Creates an instance of aNeighbourDownrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.node()Returns the value of thenoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NeighbourDown
-
-
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). -
node
-