RangeShardMap<KeyT>.updateMapping Method
Definition
Overloads
| updateMapping(RangeMapping currentMapping, RangeMappingUpdate update) |
Updates a RangeMapping<KeyT> with the updates provided in the update parameter. |
| updateMapping(RangeMapping currentMapping, RangeMappingUpdate update, MappingLockToken mappingLockToken) |
Updates a RangeMapping<KeyT> with the updates provided in the update parameter. |
updateMapping(RangeMapping currentMapping, RangeMappingUpdate update)
Updates a RangeMapping<KeyT> with the updates provided in the update parameter.
public RangeMapping updateMapping(RangeMapping currentMapping, RangeMappingUpdate update)
Parameters
- currentMapping
- RangeMapping
Mapping being updated.
- update
- RangeMappingUpdate
Updated properties of the mapping.
Returns
New instance of mapping with updated information.
updateMapping(RangeMapping currentMapping, RangeMappingUpdate update, MappingLockToken mappingLockToken)
Updates a RangeMapping<KeyT> with the updates provided in the update parameter.
public RangeMapping updateMapping(RangeMapping currentMapping, RangeMappingUpdate update, MappingLockToken mappingLockToken)
Parameters
- currentMapping
- RangeMapping
Mapping being updated.
- update
- RangeMappingUpdate
Updated properties of the mapping.
- mappingLockToken
- MappingLockToken
An instance of MappingLockToken
Returns
New instance of mapping with updated information.