Package org.apache.cassandra.net
Class ForwardingInfo
java.lang.Object
org.apache.cassandra.net.ForwardingInfo
- All Implemented Interfaces:
Serializable
A container used to store a node -> message_id map for inter-DC write forwarding.
We pick one node in each external DC to forward the message to its local peers.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidforEach(BiConsumer<Long, InetAddressAndPort> biConsumer) Apply the provided consumer to all (host, message_id) pairs.
-
Constructor Details
-
ForwardingInfo
-
-
Method Details
-
forEach
Apply the provided consumer to all (host, message_id) pairs.
-