Compartilhar via


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