Method | Description | |
---|---|---|
AppendOperation ( ArraySegment |
||
Dispose ( ) : void | ||
GetCopyContext ( ) : IOperationDataStream |
Returns the current progress of this secondary replica encoded as a stream.
|
|
GetCopyState ( long upToSequenceNumber, IOperationDataStream copyContext ) : IOperationDataStream |
Gets the copy stream from the primary replica.
|
|
GetLastCommittedSequenceNumber ( ) : long | ||
GetOperations ( ) : IEnumerable |
||
Initialize ( ) : Task | ||
OnDataLossAsync ( |
||
StateProvider ( string logFilePath, Logger logger, Serializer serializer ) : System | ||
UpdateEpochAsync ( Epoch epoch, long previousEpochLastSequenceNumber, |
||
WaitForCommit ( long logSequenceNumber ) : Task |
Method | Description | |
---|---|---|
PersistEpochUpdate ( ProgressIndicator update ) : Task | ||
UpdateHighestLogSequenceNumber ( long logSequenceNumber ) : void |
public AppendOperation ( ArraySegment |
||
record | ArraySegment |
|
logSequenceNumber | long | |
return | Task |
public GetCopyContext ( ) : IOperationDataStream | ||
return | IOperationDataStream |
public GetCopyState ( long upToSequenceNumber, IOperationDataStream copyContext ) : IOperationDataStream | ||
upToSequenceNumber | long | The upper-bound of the data to return in the copy stream. |
copyContext | IOperationDataStream | The copy context from the secondary which will consume the returned copy stream. |
return | IOperationDataStream |
public GetLastCommittedSequenceNumber ( ) : long | ||
return | long |
public OnDataLossAsync ( |
||
cancellationToken | ||
return | Task |
public StateProvider ( string logFilePath, Logger logger, Serializer serializer ) : System | ||
logFilePath | string | |
logger | Logger | |
serializer | Serializer | |
return | System |
public UpdateEpochAsync ( Epoch epoch, long previousEpochLastSequenceNumber, |
||
epoch | Epoch | |
previousEpochLastSequenceNumber | long | |
cancellationToken | ||
return | Task |
public WaitForCommit ( long logSequenceNumber ) : Task | ||
logSequenceNumber | long | |
return | Task |