Example #1
0
 public async Task RegisterShardedVertexAsync(
     string vertexName,
     List <string> allInstances,
     List <int> allShards,
     List <int> addedShards,
     List <int> removedShards,
     Expression <Func <int, int> > shardLocator)
 {
     await _shardedVertexInfoProvider.Insert(
         ShardedVertexInfo.Create(
             vertexName,
             "0",
             allInstances,
             allShards,
             addedShards,
             removedShards,
             shardLocator));
 }