C# Class Shastra.Hydra.Messaging.Storage.CouchDbStore

Inheritance: IStore
显示文件 Open project: NorthNick/hydra

Public Methods

Method Description
CouchDbStore ( string server, string database = null, int port = null ) : System
CouchDbStore ( string name, string server, string database = null, int port = null ) : System
GetChanges ( IMessageId startId, long sinceSeq, long &lastSeq ) : IEnumerable
GetDocs ( string viewName, IViewOptions options ) : IEnumerable
GetLastSeq ( ) : long
MeasureDistance ( ) : ServerDistanceInfo
NameFromServerDetails ( string server, string database, int port ) : string
SaveDoc ( string json ) : IMessageId

Method Details

CouchDbStore() public method

public CouchDbStore ( string server, string database = null, int port = null ) : System
server string
database string
port int
return System

CouchDbStore() public method

public CouchDbStore ( string name, string server, string database = null, int port = null ) : System
name string
server string
database string
port int
return System

GetChanges() public method

public GetChanges ( IMessageId startId, long sinceSeq, long &lastSeq ) : IEnumerable
startId IMessageId
sinceSeq long
lastSeq long
return IEnumerable

GetDocs() public method

public GetDocs ( string viewName, IViewOptions options ) : IEnumerable
viewName string
options IViewOptions
return IEnumerable

GetLastSeq() public method

public GetLastSeq ( ) : long
return long

MeasureDistance() public method

public MeasureDistance ( ) : ServerDistanceInfo
return ServerDistanceInfo

NameFromServerDetails() public static method

public static NameFromServerDetails ( string server, string database, int port ) : string
server string
database string
port int
return string

SaveDoc() public method

public SaveDoc ( string json ) : IMessageId
json string
return IMessageId