- All Implemented Interfaces:
- SerializableHintMessage
public final class HintMessage
extends java.lang.Object
implements SerializableHintMessage
The message we use to dispatch and forward hints.
Encodes the host id the hint is meant for and the hint itself.
We use the host id to determine whether we should store or apply the hint:
1. If host id equals to the receiving node host id, then we apply the hint
2. If host id is different from the receiving node's host id, then we store the hint
Scenario (1) means that we are dealing with regular hint dispatch.
Scenario (2) means that we got a hint from a node that's going through decommissioning and is streaming its hints
elsewhere first.