Exemple #1
0
 /// <summary>
 /// Resets the cluster and deletes all knowledge of any CRA instances
 /// </summary>
 public void Reset()
 {
     _connectionTable.DeleteIfExistsAsync().Wait();
     _vertexTable.DeleteIfExistsAsync().Wait();
     _endpointTableManager.DeleteTable();
 }
Exemple #2
0
 /// <summary>
 /// Resets the cluster and deletes all knowledge of any CRA instances
 /// </summary>
 public async Task ResetAsync()
 => await Task.WhenAll(
     _connectionTableManager.DeleteTable(),
     _vertexManager.DeleteTable(),
     _endpointTableManager.DeleteTable());