ShardMapManagerFactory Class

Definition

Factory for ShardMapManagers facilitates the creation and management of shard map manager persistent state. Use this class as the entry point to the library's object hierarchy.

public class ShardMapManagerFactory
Inheritance
java.lang.Object
ShardMapManagerFactory

Methods

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().

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.

tryGetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, ReferenceObjectHelper<ShardMapManager> shardMapManager)

Gets ShardMapManager from persisted state in a SQL Server database.

tryGetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, EventHandler<RetryingEventArgs> retryEventHandler, ReferenceObjectHelper<ShardMapManager> shardMapManager)

Gets ShardMapManager from persisted state in a SQL Server database.

tryGetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, ReferenceObjectHelper<ShardMapManager> shardMapManager)

Gets ShardMapManager from persisted state in a SQL Server database.

Applies to