ShardMapManager.lookupShardMapByName(String operationName, String shardMapName, boolean lookInCacheFirst) Method

Definition

Finds a shard map from cache if requested and if necessary from global shard map.

public ShardMap lookupShardMapByName(String operationName, String shardMapName, boolean lookInCacheFirst)

Parameters

operationName
String

Operation name, useful for diagnostics.

shardMapName
String

Name of shard map.

lookInCacheFirst
boolean

Whether to skip first lookup in cache.

Returns

Shard map object corresponding to one being searched.

Applies to