RangeMappingUpdate Class

public class RangeMappingUpdate extends BaseMappingUpdate

Represents updates to a mapping between a Range of values and the Shard that stores its data. Also see RangeMapping.

Constructor Summary

Constructor Description
RangeMappingUpdate()

Instantiates a new range mapping update object.

Method Summary

Modifier and Type Method and Description
boolean isBeingTakenOffline(MappingStatus originalStatus, MappingStatus updatedStatus)

Detects if the current mapping is being taken offline.

Inherited Members

Constructor Details

RangeMappingUpdate

public RangeMappingUpdate()

Instantiates a new range mapping update object.

Method Details

isBeingTakenOffline

protected boolean isBeingTakenOffline(MappingStatus originalStatus, MappingStatus updatedStatus)

Detects if the current mapping is being taken offline.

Parameters:

originalStatus - Original status.
updatedStatus - Updated status.

Returns:

Detects in the derived types if the mapping is being taken offline.

Applies to