C# 클래스 Foundatio.Repositories.Elasticsearch.Jobs.CleanupIndexesJob

상속: IJob
파일 보기 프로젝트 열기: exceptionless/Foundatio.Repositories

공개 메소드들

메소드 설명
CleanupIndexesJob ( IElasticClient client, ILoggerFactory loggerFactory ) : System
RunAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task

보호된 메소드들

메소드 설명
AddIndex ( System.TimeSpan maxAge, DateTime?>.Func getAge ) : void
AddIndex ( string prefix, System.TimeSpan maxAge ) : void

비공개 메소드들

메소드 설명
DeleteOldIndexesAsync ( ) : Task
GetIndexDate ( string name ) : IndexDate

메소드 상세

AddIndex() 보호된 메소드

protected AddIndex ( System.TimeSpan maxAge, DateTime?>.Func getAge ) : void
maxAge System.TimeSpan
getAge DateTime?>.Func
리턴 void

AddIndex() 보호된 메소드

protected AddIndex ( string prefix, System.TimeSpan maxAge ) : void
prefix string
maxAge System.TimeSpan
리턴 void

CleanupIndexesJob() 공개 메소드

public CleanupIndexesJob ( IElasticClient client, ILoggerFactory loggerFactory ) : System
client IElasticClient
loggerFactory ILoggerFactory
리턴 System

RunAsync() 공개 메소드

public RunAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
cancellationToken System.Threading.CancellationToken
리턴 Task