ShardMapManagerFactory.getSqlShardMapManager Method

Definition

Overloads

getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy)

Gets ShardMapManager from persisted state in a SQL Server database, with RetryBehavior.DefaultRetryBehavior.

getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior)

Gets ShardMapManager from persisted state in a SQL Server database.

getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler)

Gets ShardMapManager from persisted state in a SQL Server database.

getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy)

Gets ShardMapManager from persisted state in a SQL Server database, with RetryBehavior.DefaultRetryBehavior.

public static ShardMapManager getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy)

Parameters

connectionString
String

Connection parameters used for performing operations against shard map manager database(s).

loadPolicy
ShardMapManagerLoadPolicy

Initialization policy.

Returns

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

getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior)

Gets ShardMapManager from persisted state in a SQL Server database.

public static ShardMapManager getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior)

Parameters

connectionString
String

Connection parameters used for performing operations against shard map manager database(s).

loadPolicy
ShardMapManagerLoadPolicy

Initialization policy.

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.

getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler)

Gets ShardMapManager from persisted state in a SQL Server database.

public static ShardMapManager getSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler)

Parameters

connectionString
String

Connection parameters used for performing operations against shard map manager database(s).

loadPolicy
ShardMapManagerLoadPolicy

Initialization policy.

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.

Applies to