메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
PersistEpochUpdate ( ProgressIndicator update ) : Task | ||
UpdateHighestLogSequenceNumber ( long logSequenceNumber ) : void |
public AppendOperation ( ArraySegment |
||
record | ArraySegment |
|
logSequenceNumber | long | |
리턴 | Task |
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. |
리턴 | IOperationDataStream |
public OnDataLossAsync ( |
||
cancellationToken | ||
리턴 | Task |
public StateProvider ( string logFilePath, Logger logger, Serializer serializer ) : System | ||
logFilePath | string | |
logger | Logger | |
serializer | Serializer | |
리턴 | System |
public UpdateEpochAsync ( Epoch epoch, long previousEpochLastSequenceNumber, |
||
epoch | Epoch | |
previousEpochLastSequenceNumber | long | |
cancellationToken | ||
리턴 | Task |
public WaitForCommit ( long logSequenceNumber ) : Task | ||
logSequenceNumber | long | |
리턴 | Task |