C# Class Microsoft.AspNet.SignalR.Messaging.ScaleoutStore

Show file Open project: SignalR/SignalR Class Usage Examples

Private Properties

Property Type Description
GetAllMessages MessageStoreResult
GetFragmentOffset int
GetFragmentOffsets void
GetMessageId ulong
ScaleoutStore System
TryAddImpl bool
TryGetFragmentFromMappingId bool

Public Methods

Method Description
Add ( ScaleoutMapping mapping ) : ulong
GetMessages ( ulong firstMessageIdRequestedByClient ) : MessageStoreResult
GetMessagesByMappingId ( ulong mappingId ) : MessageStoreResult
ScaleoutStore ( uint capacity ) : System

Private Methods

Method Description
GetAllMessages ( ulong minMessageId ) : MessageStoreResult
GetFragmentOffset ( ulong messageId ) : int
GetFragmentOffsets ( ulong messageId, ulong &fragmentNum, int &idxIntoFragmentsArray, int &idxIntoFragment ) : void
GetMessageId ( ulong fragmentNum, uint offset ) : ulong
ScaleoutStore ( uint capacity, uint fragmentSize ) : System
TryAddImpl ( ScaleoutMapping mapping, ulong &newMessageId ) : bool
TryGetFragmentFromMappingId ( ulong mappingId, Fragment &fragment ) : bool

Method Details

Add() public method

public Add ( ScaleoutMapping mapping ) : ulong
mapping ScaleoutMapping
return ulong

GetMessages() public method

public GetMessages ( ulong firstMessageIdRequestedByClient ) : MessageStoreResult
firstMessageIdRequestedByClient ulong
return MessageStoreResult

GetMessagesByMappingId() public method

public GetMessagesByMappingId ( ulong mappingId ) : MessageStoreResult
mappingId ulong
return MessageStoreResult

ScaleoutStore() public method

public ScaleoutStore ( uint capacity ) : System
capacity uint
return System