in bulkimport/src/main/java/com/microsoft/azure/documentdb/bulkimport/DocumentBulkImporter.java [263:277]
private DocumentBulkImporter(DocumentClient client,
String collectionLink,
PartitionKeyDefinition partitionKeyDefinition,
int collectionOfferThroughput) {
Preconditions.checkNotNull(client, "client cannot be null");
Preconditions.checkNotNull(partitionKeyDefinition, "partitionKeyDefinition cannot be null");
Preconditions.checkNotNull(collectionLink, "collectionLink cannot be null");
Preconditions.checkArgument(collectionOfferThroughput > 0, "collection throughput is less than 10,000");
this.client = client;
this.collectionLink = collectionLink;
this.collectionThroughput = collectionOfferThroughput;
this.partitionKeyDefinition = partitionKeyDefinition;
this.listeningExecutorService = MoreExecutors.listeningDecorator(Executors.newCachedThreadPool());
}