Package com.microsoft.azure.kusto.ingest
Interface IngestionResourceManager
-
public interface IngestionResourceManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ContainerWithSas>getShuffledContainers()Returns a list of containers with SAS tokens, ranked by their ingestion success rate, and then shuffled.voidreportIngestionResult(ResourceWithSas<?> resource, boolean success)Report the result of an ingestion operation.
-
-
-
Method Detail
-
getShuffledContainers
List<ContainerWithSas> getShuffledContainers() throws IngestionClientException, IngestionServiceException
Returns a list of containers with SAS tokens, ranked by their ingestion success rate, and then shuffled. You should use this method for each ingestion operation.- Returns:
- List of containers with SAS tokens, ranked by their ingestion success rate, and then shuffled.
- Throws:
IngestionClientExceptionIngestionServiceException
-
reportIngestionResult
void reportIngestionResult(ResourceWithSas<?> resource, boolean success)
Report the result of an ingestion operation.- Parameters:
resource- The resource that was used to ingest. Can be a container or a queue.success- Whether the ingestion operation was successful.
-
-