PointMappingUpdate Class

public class PointMappingUpdate extends BaseMappingUpdate

Represents updates to a mapping between the singleton key value of a shardlet (a point) and the shard that holds its data. Also see PointMapping<KeyT>.

Constructor Summary

Constructor Description
PointMappingUpdate()

Instantiates a new point 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

PointMappingUpdate

public PointMappingUpdate()

Instantiates a new point 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