C# 클래스 Foundatio.Repositories.Elasticsearch.Configuration.VersionedIndex

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

공개 메소드들

메소드 설명
ConfigureAsync ( ) : System.Threading.Tasks.Task
ConfigureDescriptor ( Nest.CreateIndexDescriptor idx ) : Nest.CreateIndexDescriptor
CreateReindexWorkItem ( int currentVersion ) : ReindexWorkItem
DeleteAsync ( ) : System.Threading.Tasks.Task
GetCurrentVersionAsync ( ) : Task

Returns the current index version (E.G., the oldest index version).

MaintainAsync ( bool includeOptionalTasks = true ) : System.Threading.Tasks.Task
ReindexAsync ( Func progressCallbackAsync = null ) : System.Threading.Tasks.Task
VersionedIndex ( IElasticConfiguration configuration, string name, int version = 1 ) : System

보호된 메소드들

메소드 설명
AliasExistsAsync ( string alias ) : Task
CreateAliasAsync ( string index, string name ) : System.Threading.Tasks.Task
GetIndexDate ( string name ) : System.DateTime
GetIndexVersion ( string name ) : int
GetIndexesAsync ( int version = -1 ) : Task>
GetVersionFromAliasAsync ( string alias ) : Task

메소드 상세

AliasExistsAsync() 보호된 메소드

protected AliasExistsAsync ( string alias ) : Task
alias string
리턴 Task

ConfigureAsync() 공개 메소드

public ConfigureAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

ConfigureDescriptor() 공개 메소드

public ConfigureDescriptor ( Nest.CreateIndexDescriptor idx ) : Nest.CreateIndexDescriptor
idx Nest.CreateIndexDescriptor
리턴 Nest.CreateIndexDescriptor

CreateAliasAsync() 보호된 메소드

protected CreateAliasAsync ( string index, string name ) : System.Threading.Tasks.Task
index string
name string
리턴 System.Threading.Tasks.Task

CreateReindexWorkItem() 공개 메소드

public CreateReindexWorkItem ( int currentVersion ) : ReindexWorkItem
currentVersion int
리턴 Foundatio.Repositories.Elasticsearch.Jobs.ReindexWorkItem

DeleteAsync() 공개 메소드

public DeleteAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

GetCurrentVersionAsync() 공개 메소드

Returns the current index version (E.G., the oldest index version).
public GetCurrentVersionAsync ( ) : Task
리턴 Task

GetIndexDate() 보호된 메소드

protected GetIndexDate ( string name ) : System.DateTime
name string
리턴 System.DateTime

GetIndexVersion() 보호된 메소드

protected GetIndexVersion ( string name ) : int
name string
리턴 int

GetIndexesAsync() 보호된 메소드

protected GetIndexesAsync ( int version = -1 ) : Task>
version int
리턴 Task>

GetVersionFromAliasAsync() 보호된 메소드

protected GetVersionFromAliasAsync ( string alias ) : Task
alias string
리턴 Task

MaintainAsync() 공개 메소드

public MaintainAsync ( bool includeOptionalTasks = true ) : System.Threading.Tasks.Task
includeOptionalTasks bool
리턴 System.Threading.Tasks.Task

ReindexAsync() 공개 메소드

public ReindexAsync ( Func progressCallbackAsync = null ) : System.Threading.Tasks.Task
progressCallbackAsync Func
리턴 System.Threading.Tasks.Task

VersionedIndex() 공개 메소드

public VersionedIndex ( IElasticConfiguration configuration, string name, int version = 1 ) : System
configuration IElasticConfiguration
name string
version int
리턴 System