ShardMapManagerFactory.createSqlShardMapManager Method

Definition

Overloads

createSqlShardMapManager(String connectionString)

Creates a ShardMapManager and its corresponding storage structures in the specified SQL Server database, with KeepExisting and RetryBehavior.DefaultRetryBehavior.

createSqlShardMapManager(String connectionString, RetryBehavior retryBehavior)

Creates a ShardMapManager and its corresponding storage structures in the specified SQL Server database, with KeepExisting.

createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode)

Creates a ShardMapManager and its corresponding storage structures in the specified SQL Server database, with RetryBehavior.DefaultRetryBehavior.

createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, RetryBehavior retryBehavior)

Creates a ShardMapManager and its corresponding storage structures in the specified SQL Server database.

createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler)

Creates a ShardMapManager and its corresponding storage structures in the specified SQL Server database.

createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, Version targetVersion)

Creates a ShardMapManager and its corresponding storage structures in the specified SQL Server database, with getDefaultRetryPolicy().

createSqlShardMapManager(String connectionString)

Creates a ShardMapManager and its corresponding storage structures in the specified SQL Server database, with KeepExisting and RetryBehavior.DefaultRetryBehavior.

public static ShardMapManager createSqlShardMapManager(String connectionString)

Parameters

connectionString
String

Connection parameters used for creating shard map manager database.

Returns

A shard map manager object used for performing management and read operations for shard maps, shards and shard mappings.

createSqlShardMapManager(String connectionString, RetryBehavior retryBehavior)

Creates a ShardMapManager and its corresponding storage structures in the specified SQL Server database, with KeepExisting.

public static ShardMapManager createSqlShardMapManager(String connectionString, RetryBehavior retryBehavior)

Parameters

connectionString
String

Connection parameters used for creating shard map manager database.

retryBehavior
RetryBehavior

Behavior for detecting transient exceptions in the store.

Returns

A shard map manager object used for performing management and read operations for shard maps, shards and shard mappings.

createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode)

Creates a ShardMapManager and its corresponding storage structures in the specified SQL Server database, with RetryBehavior.DefaultRetryBehavior.

public static ShardMapManager createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode)

Parameters

connectionString
String

Connection parameters used for creating shard map manager database.

createMode
ShardMapManagerCreateMode

Describes the option selected by the user for creating shard map manager database.

Returns

A shard map manager object used for performing management and read operations for shard maps, shards and shard mappings.

createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, RetryBehavior retryBehavior)

Creates a ShardMapManager and its corresponding storage structures in the specified SQL Server database.

public static ShardMapManager createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, RetryBehavior retryBehavior)

Parameters

connectionString
String

Connection parameters used for creating shard map manager database.

createMode
ShardMapManagerCreateMode

Describes the option selected by the user for creating shard map manager database.

retryBehavior
RetryBehavior

Behavior for detecting transient exceptions in the store.

Returns

A shard map manager object used for performing management and read operations for shard maps, shards and shard mappings.

createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler)

Creates a ShardMapManager and its corresponding storage structures in the specified SQL Server database.

public static ShardMapManager createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler)

Parameters

connectionString
String

Connection parameters used for creating shard map manager database.

createMode
ShardMapManagerCreateMode

Describes the option selected by the user for creating shard map manager database.

retryBehavior
RetryBehavior

Behavior for detecting transient exceptions in the store.

retryEventHandler
EventHandler<RetryingEventArgs>

Event handler for store operation retry events.

Returns

A shard map manager object used for performing management and read operations for shard maps, shards and shard mappings.

createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, Version targetVersion)

Creates a ShardMapManager and its corresponding storage structures in the specified SQL Server database, with getDefaultRetryPolicy().

public static ShardMapManager createSqlShardMapManager(String connectionString, ShardMapManagerCreateMode createMode, Version targetVersion)

Parameters

connectionString
String

Connection parameters used for creating shard map manager database.

createMode
ShardMapManagerCreateMode

Describes the option selected by the user for creating shard map manager database.

targetVersion
Version

Target version of store to create.

Returns

Applies to