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

Inheritance: CommitCollector
Afficher le fichier Open project: NuGet/NuGet.Services.Metadata

Méthodes publiques

Méthode Description
SortingCollector ( Uri index, Func handlerFunc = null ) : Newtonsoft.Json.Linq

Méthodes protégées

Méthode Description
GetKey ( Newtonsoft.Json.Linq.JObject item ) : string
OnProcessBatch ( CollectorHttpClient client, IEnumerable items, JToken context, System.DateTime commitTimeStamp, bool isLastBatch, CancellationToken cancellationToken ) : Task
ProcessSortedBatch ( CollectorHttpClient client, KeyValuePair sortedBatch, JToken context, CancellationToken cancellationToken ) : Task

Method Details

GetKey() protected méthode

protected GetKey ( Newtonsoft.Json.Linq.JObject item ) : string
item Newtonsoft.Json.Linq.JObject
Résultat string

OnProcessBatch() protected méthode

protected OnProcessBatch ( CollectorHttpClient client, IEnumerable items, JToken context, System.DateTime commitTimeStamp, bool isLastBatch, CancellationToken cancellationToken ) : Task
client CollectorHttpClient
items IEnumerable
context JToken
commitTimeStamp System.DateTime
isLastBatch bool
cancellationToken System.Threading.CancellationToken
Résultat Task

ProcessSortedBatch() protected abstract méthode

protected abstract ProcessSortedBatch ( CollectorHttpClient client, KeyValuePair sortedBatch, JToken context, CancellationToken cancellationToken ) : Task
client CollectorHttpClient
sortedBatch KeyValuePair
context JToken
cancellationToken System.Threading.CancellationToken
Résultat Task

SortingCollector() public méthode

public SortingCollector ( Uri index, Func handlerFunc = null ) : Newtonsoft.Json.Linq
index System.Uri
handlerFunc Func
Résultat Newtonsoft.Json.Linq