Class NodeAllocationState.AssignmentState

    • Method Detail

      • getOriginalNodeID

        public VirtualNodeID getOriginalNodeID()
        The node ID that this assignment was originally on.
        Returns:
        the node ID that this assignment was originally on.
      • getCurrentNodeID

        public VirtualNodeID getCurrentNodeID()
        The node ID that this assignment is currently on. (Will differ from original node id in the event of a failure)
        Returns:
        the node ID that this assignment is currently on
      • getPartitionID

        public final int getPartitionID()
        The partition instance info for this assignment
        Returns:
        the partition instance info for this assignment
      • getType

        public VirtualNodeType getType()
        Returns the node type
        Returns:
        the node type
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object