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

Afficher le fichier Open project: SignalR/SignalR Class Usage Examples

Private Properties

Свойство Type Description
GetAllMessages MessageStoreResult
GetFragmentOffset int
GetFragmentOffsets void
GetMessageId ulong
ScaleoutStore System
TryAddImpl bool
TryGetFragmentFromMappingId bool

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public Add ( ScaleoutMapping mapping ) : ulong
mapping ScaleoutMapping
Résultat ulong

GetMessages() public méthode

public GetMessages ( ulong firstMessageIdRequestedByClient ) : MessageStoreResult
firstMessageIdRequestedByClient ulong
Résultat MessageStoreResult

GetMessagesByMappingId() public méthode

public GetMessagesByMappingId ( ulong mappingId ) : MessageStoreResult
mappingId ulong
Résultat MessageStoreResult

ScaleoutStore() public méthode

public ScaleoutStore ( uint capacity ) : System
capacity uint
Résultat System