ShardMapManagerFactory.createSqlShardMapManager Method

Definition

Overloads

createSqlShardMapManager(String connectionString)

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

createSqlShardMapManager(String connectionString, RetryBehavior retryBehavior)

Creates a ShardMapManager and its corresponding storage structures in the specified SQL Server database, with ShardMapManagerCreateMode.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 RetryPolicy.getDefaultRetryPolicy().

createSqlShardMapManager(String connectionString)

Creates a ShardMapManager and its corresponding storage structures in the specified SQL Server database, with ShardMapManagerCreateMode.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 ShardMapManagerCreateMode.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 RetryPolicy.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