ShardCreationInfo Class

  • java.lang.Object
    • com.microsoft.azure.elasticdb.shard.base.ShardCreationInfo

public class ShardCreationInfo

Arguments used to create a Shard.

Constructor Summary

Constructor Description
ShardCreationInfo(ShardLocation location)

Arguments used to create a Shard.

ShardCreationInfo(ShardLocation location, ShardStatus status)

Arguments used to create a Shard.

Method Summary

Modifier and Type Method and Description
ShardLocation getLocation()
ShardStatus getStatus()
void setStatus(ShardStatus value)

Constructor Details

ShardCreationInfo

public ShardCreationInfo(ShardLocation location)

Arguments used to create a Shard.

Parameters:

location - Location of the shard.

ShardCreationInfo

public ShardCreationInfo(ShardLocation location, ShardStatus status)

Arguments used to create a Shard.

Parameters:

location - Location of the shard.
status - Status of the shard.

Method Details

getLocation

public ShardLocation getLocation()

getStatus

public ShardStatus getStatus()

setStatus

public void setStatus(ShardStatus value)

Parameters:

value

Applies to