ShardMapManagerLoadPolicy Enum

  • java.lang.Object
    • java.lang.Enum<ShardMapManagerLoadPolicy>
      • com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManagerLoadPolicy

public enum ShardMapManagerLoadPolicy

Describes the policy used for initialization of ShardMapManager from the store.

Fields

Eager

Load all shard maps and their corresponding mappings into the cache for fast retrieval.

Lazy

Load all shard maps and their corresponding mappings on as needed basis.

SIZE

Methods

forValue(int value)

public static ShardMapManagerLoadPolicy forValue(int value)

Parameters

value
int

Returns

getValue()

public int getValue()

Returns

int

Applies to