C# Class NuGet.Services.Metadata.Catalog.SortingGraphCollector

Inheritance: SortingCollector
Show file Open project: NuGet/NuGet.Services.Metadata

Public Methods

Method Description
SortingGraphCollector ( Uri index, Uri types, Func handlerFunc = null ) : Newtonsoft.Json.Linq

Protected Methods

Method Description
ProcessGraphs ( IGraph>.KeyValuePair sortedGraphs, CancellationToken cancellationToken ) : Task
ProcessSortedBatch ( CollectorHttpClient client, KeyValuePair sortedBatch, JToken context, CancellationToken cancellationToken ) : Task

Method Details

ProcessGraphs() protected abstract method

protected abstract ProcessGraphs ( IGraph>.KeyValuePair sortedGraphs, CancellationToken cancellationToken ) : Task
sortedGraphs IGraph>.KeyValuePair
cancellationToken System.Threading.CancellationToken
return Task

ProcessSortedBatch() protected method

protected ProcessSortedBatch ( CollectorHttpClient client, KeyValuePair sortedBatch, JToken context, CancellationToken cancellationToken ) : Task
client CollectorHttpClient
sortedBatch KeyValuePair
context JToken
cancellationToken System.Threading.CancellationToken
return Task

SortingGraphCollector() public method

public SortingGraphCollector ( Uri index, Uri types, Func handlerFunc = null ) : Newtonsoft.Json.Linq
index System.Uri
types System.Uri
handlerFunc Func
return Newtonsoft.Json.Linq