ShardMap.createShard Method

Definition

Overloads

createShard(ShardCreationInfo shardCreationArgs)

Creates a new shard and registers it with the shard map.

createShard(ShardLocation location)

Atomically adds a shard to ShardMap using the specified location.

createShard(ShardCreationInfo shardCreationArgs)

Creates a new shard and registers it with the shard map.

public final Shard createShard(ShardCreationInfo shardCreationArgs)

Parameters

shardCreationArgs
ShardCreationInfo

Information about shard to be added.

Returns

final Shard

A new shard registered with this shard map.

createShard(ShardLocation location)

Atomically adds a shard to ShardMap using the specified location.

public final Shard createShard(ShardLocation location)

Parameters

location
ShardLocation

Location of shard to be added.

Returns

final Shard

A shard attached to this shard map.

Applies to