你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IMappingUpdate<StatusT> Interface

Type Parameters

StatusT

public interface IMappingUpdate

Common interface for point/range mapping updates.

Method Summary

Modifier and Type Method and Description
Shard getShard()

Shard property.

StatusT getStatus()

Status property.

boolean isAnyPropertySet(MappingUpdatedProperties properties)

Checks if any property is set in the given bitmap.

boolean isMappingBeingTakenOffline(StatusT originalStatus)

Checks if the mapping is being taken offline.

Method Details

getShard

public Shard getShard()

Shard property.

getStatus

public StatusT getStatus()

Status property.

isAnyPropertySet

public boolean isAnyPropertySet(MappingUpdatedProperties properties)

Checks if any property is set in the given bitmap.

Parameters:

properties - Properties bitmap.

Returns:

True if any of the properties is set, false otherwise.

isMappingBeingTakenOffline

public boolean isMappingBeingTakenOffline(StatusT originalStatus)

Checks if the mapping is being taken offline.

Parameters:

originalStatus - Original status.

Returns:

True of the update will take the mapping offline.

Applies to