C# 클래스 ActivityStreams.Persistence.DefaultActivityRepository

상속: IActivityRepository
파일 보기 프로젝트 열기: Elders/ActivityStreams

공개 메소드들

메소드 설명
Append ( Activity activity ) : void
DefaultActivityRepository ( IActivityStore store, IStreamStore streamStore ) : System
Load ( ActivityStream stream, ActivityStreamOptions feedOptions ) : IEnumerable

FanIn

Remove ( byte streamId, long timestamp ) : void

비공개 메소드들

메소드 설명
FetchNextActivity ( Dictionary snapshot, byte streamId, SortedSet buffer ) : void

Gets the first activity from the specified stream and places it into the specified buffer.

GetSnapshot ( long>.Dictionary streams, ActivityStreamOptions options ) : Queue>.Dictionary

Gets unordered activities snapshot for the specified streams.

메소드 상세

Append() 공개 메소드

public Append ( Activity activity ) : void
activity Activity
리턴 void

DefaultActivityRepository() 공개 메소드

public DefaultActivityRepository ( IActivityStore store, IStreamStore streamStore ) : System
store IActivityStore
streamStore IStreamStore
리턴 System

Load() 공개 메소드

FanIn
public Load ( ActivityStream stream, ActivityStreamOptions feedOptions ) : IEnumerable
stream ActivityStream
feedOptions ActivityStreamOptions
리턴 IEnumerable

Remove() 공개 메소드

public Remove ( byte streamId, long timestamp ) : void
streamId byte
timestamp long
리턴 void