C# 클래스 Demo.Application.Elastic.Checkpoints.ElasticCompetes

상속: IManageCompetes
파일 보기 프로젝트 열기: volak/DDD.Enterprise.Example

공개 메소드들

메소드 설명
Adopt ( String endpoint, Int32 bucket, System.DateTime Timestamp ) : System.Boolean
CheckOrSave ( string endpoint, Int32 bucket, long position ) : bool
ElasticCompetes ( IElasticClient client ) : Aggregates
Heartbeat ( string endpoint, Int32 bucket, System.DateTime Timestamp, long position ) : void
LastHeartbeat ( string endpoint, Int32 bucket ) : DateTime?
LastPosition ( string endpoint, Int32 bucket ) : long

메소드 상세

Adopt() 공개 메소드

public Adopt ( String endpoint, Int32 bucket, System.DateTime Timestamp ) : System.Boolean
endpoint String
bucket System.Int32
Timestamp System.DateTime
리턴 System.Boolean

CheckOrSave() 공개 메소드

public CheckOrSave ( string endpoint, Int32 bucket, long position ) : bool
endpoint string
bucket System.Int32
position long
리턴 bool

ElasticCompetes() 공개 메소드

public ElasticCompetes ( IElasticClient client ) : Aggregates
client IElasticClient
리턴 Aggregates

Heartbeat() 공개 메소드

public Heartbeat ( string endpoint, Int32 bucket, System.DateTime Timestamp, long position ) : void
endpoint string
bucket System.Int32
Timestamp System.DateTime
position long
리턴 void

LastHeartbeat() 공개 메소드

public LastHeartbeat ( string endpoint, Int32 bucket ) : DateTime?
endpoint string
bucket System.Int32
리턴 DateTime?

LastPosition() 공개 메소드

public LastPosition ( string endpoint, Int32 bucket ) : long
endpoint string
bucket System.Int32
리턴 long