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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Java