C# Class ActivityStreams.Persistence.StreamCrawler

Flattens the graph 'ActivityStreams' structure. If there are multiple nodes for a stream with different expiration timestamp then the lates expiration timestamp will be captured.
Mostrar archivo Open project: Elders/ActivityStreams Class Usage Examples

Public Methods

Method Description
StreamCrawler ( IStreamStore streamStore ) : System
StreamsToLoad ( ActivityStream stream, long timestamp ) : long>.Dictionary

Private Methods

Method Description
AddOrUpdateStreamsToLoadWith ( long>.Dictionary streamsToLoad, ActivityStream stream, long timestamp ) : void
Guard_AgainstStupidity ( ) : void
IsCrawled ( ActivityStream stream ) : bool
MarkAsCrowled ( ActivityStream stream ) : void

Method Details

StreamCrawler() public method

public StreamCrawler ( IStreamStore streamStore ) : System
streamStore IStreamStore
return System

StreamsToLoad() public method

public StreamsToLoad ( ActivityStream stream, long timestamp ) : long>.Dictionary
stream ActivityStream
timestamp long
return long>.Dictionary