ListShardMapper.update Method

Definition

Overloads

update(PointMapping currentMapping, PointMappingUpdate update)

Allows for update to a point mapping with the updates provided in the update parameter.

update(PointMapping currentMapping, PointMappingUpdate update, UUID lockOwnerId)

Allows for update to a point mapping with the updates provided in the update parameter.

update(PointMapping currentMapping, PointMappingUpdate update)

Allows for update to a point mapping with the updates provided in the update parameter.

public PointMapping update(PointMapping currentMapping, PointMappingUpdate update)

Parameters

currentMapping
PointMapping

Mapping being updated.

update
PointMappingUpdate

Updated properties of the Shard.

Returns

New instance of mapping with updated information.

update(PointMapping currentMapping, PointMappingUpdate update, UUID lockOwnerId)

Allows for update to a point mapping with the updates provided in the update parameter.

public PointMapping update(PointMapping currentMapping, PointMappingUpdate update, UUID lockOwnerId)

Parameters

currentMapping
PointMapping

Mapping being updated.

update
PointMappingUpdate

Updated properties of the Shard.

lockOwnerId
UUID

Lock owner id of this mapping

Returns

New instance of mapping with updated information.

Applies to