36 instantiations of SequenceNumber
System.IO.Log (36)
System\IO\Log\FileLogRecordHeader.cs (2)
75
return new
SequenceNumber
(
84
get { return new
SequenceNumber
(BitConverter.ToUInt64(this.bits, NextUndoLsnOffsetHigh)); }
System\IO\Log\FileRecordSequenceHelper.cs (3)
61
return new
SequenceNumber
(first.High, 0);
68
return new
SequenceNumber
(last.High, 1);
239
sequenceNumber = new
SequenceNumber
(0);
System\IO\Log\LogArchiveSnapshot.cs (3)
53
this.archiveTail = new
SequenceNumber
(lsnArchiveTail);
54
this.baseSequenceNumber = new
SequenceNumber
(lsnBase);
55
this.lastSequenceNumber = new
SequenceNumber
(lsnLast);
System\IO\Log\LogLogRecordEnumerator.cs (6)
170
new
SequenceNumber
(this.startLsn),
171
new
SequenceNumber
(lsnUser),
172
new
SequenceNumber
(lsnPrevious),
218
new
SequenceNumber
(lsnRecord),
219
new
SequenceNumber
(lsnUser),
220
new
SequenceNumber
(lsnPrevious),
System\IO\Log\LogManagementAsyncResult.cs (1)
262
targetLsn = new
SequenceNumber
(this.notification.Lsn);
System\IO\Log\LogRecordSequence.cs (9)
243
return new
SequenceNumber
(info.RestartLsn);
365
return new
SequenceNumber
(state.ResultLsn);
654
return new
SequenceNumber
(lar.ResultLsn);
666
return new
SequenceNumber
(lar.ResultLsn);
685
return new
SequenceNumber
(lar.ResultLsn);
697
return new
SequenceNumber
(lar.ResultLsn);
729
return new
SequenceNumber
(resultLsn);
831
return new
SequenceNumber
(state.ResultLsn);
929
return new
SequenceNumber
(state.ResultLsn);
System\IO\Log\LogRestartAreaEnumerator.cs (2)
142
new
SequenceNumber
(lsnRecord),
179
new
SequenceNumber
(lsnRecord),
System\IO\Log\LogStore.cs (2)
225
return new
SequenceNumber
(info.BaseLsn);
312
return new
SequenceNumber
(info.LastLsn);
System\IO\Log\SequenceNumber.cs (1)
69
return new
SequenceNumber
(UInt64.MaxValue, UInt64.MaxValue);
System\IO\Log\SimpleFileLog.cs (7)
161
first = new
SequenceNumber
(lsnfirst);
162
last = new
SequenceNumber
(lsnlast);
201
return new
SequenceNumber
(recordLsn);
249
previous = new
SequenceNumber
(prevLsn);
250
next = new
SequenceNumber
(nextLsn);
286
previous = new
SequenceNumber
(prevLsn);
287
next = new
SequenceNumber
(nextLsn);
316 references to SequenceNumber
System.IO.Log (316)
System\IO\Log\AppendHelper.cs (4)
13
SequenceNumber
prev;
14
SequenceNumber
next;
20
SequenceNumber
prev,
21
SequenceNumber
next,
System\IO\Log\FileLogRecord.cs (5)
21
public override
SequenceNumber
Previous
27
return
SequenceNumber
.Invalid;
36
public override
SequenceNumber
SequenceNumber
41
public override
SequenceNumber
User
47
return
SequenceNumber
.Invalid;
System\IO\Log\FileLogRecordEnumerator.cs (9)
14
SequenceNumber
start;
19
SequenceNumber
start,
49
SequenceNumber
start;
50
SequenceNumber
current;
58
SequenceNumber
start,
105
if (this.current ==
SequenceNumber
.Invalid)
128
SequenceNumber
first;
129
SequenceNumber
last;
133
|| this.current ==
SequenceNumber
.Invalid)
System\IO\Log\FileLogRecordHeader.cs (4)
71
internal
SequenceNumber
PreviousLsn
79
set {
SequenceNumber
.WriteUInt64(value.High, this.bits, PreviousLsnOffsetHigh); }
82
internal
SequenceNumber
NextUndoLsn
86
set {
SequenceNumber
.WriteUInt64(value.High, this.bits, NextUndoLsnOffsetHigh); }
System\IO\Log\FileLogRecordStream.cs (9)
22
SequenceNumber
recordSequenceNumber;
27
SequenceNumber
prevSeqNum;
28
SequenceNumber
nextSeqNum;
33
internal FileLogRecordStream(SimpleFileLog log,
SequenceNumber
recordSequenceNumber)
81
internal
SequenceNumber
RecordSequenceNumber
86
internal
SequenceNumber
PrevLsn
91
internal
SequenceNumber
NextLsn
135
SequenceNumber
prev;
136
SequenceNumber
next;
System\IO\Log\FileRecordSequence.cs (66)
46
public
SequenceNumber
BaseSequenceNumber
51
public
SequenceNumber
LastSequenceNumber
80
public
SequenceNumber
RestartSequenceNumber
88
SequenceNumber
newBaseSequenceNumber)
109
public
SequenceNumber
Append(
111
SequenceNumber
nextUndoRecord,
112
SequenceNumber
previousRecord,
121
public
SequenceNumber
Append(
123
SequenceNumber
nextUndoRecord,
124
SequenceNumber
previousRecord,
135
public
SequenceNumber
Append(
137
SequenceNumber
nextUndoRecord,
138
SequenceNumber
previousRecord,
157
SequenceNumber
sn;
181
public
SequenceNumber
Append(
183
SequenceNumber
nextUndoRecord,
184
SequenceNumber
previousRecord,
222
SequenceNumber
returnValue = this.Append(data, nextUndoRecord, previousRecord, recordAppendOptions);
237
SequenceNumber
nextUndoRecord,
238
SequenceNumber
previousRecord,
254
SequenceNumber
nextUndoRecord,
255
SequenceNumber
previousRecord,
272
SequenceNumber
nextUndoRecord,
273
SequenceNumber
previousRecord,
278
SequenceNumber
result = Append(data, nextUndoRecord, previousRecord, recordAppendOptions);
285
SequenceNumber
nextUndoRecord,
286
SequenceNumber
previousRecord,
292
SequenceNumber
result = Append(data, nextUndoRecord, previousRecord, recordAppendOptions, reservations);
297
SequenceNumber
sequenceNumber,
301
SequenceNumber
result = this.Flush(sequenceNumber);
307
SequenceNumber
nextUndoRecord,
308
SequenceNumber
previousRecord,
327
SequenceNumber
nextUndoRecord,
328
SequenceNumber
previousRecord,
335
SequenceNumber
result = ReserveAndAppend(data,
348
SequenceNumber
newBaseSeqNum,
362
SequenceNumber
newBaseSeqNum,
367
SequenceNumber
result = WriteRestartArea(data, newBaseSeqNum, reservation);
385
public
SequenceNumber
EndAppend(
404
public
SequenceNumber
EndFlush(
422
public
SequenceNumber
EndReserveAndAppend(
440
public
SequenceNumber
EndWriteRestartArea(
459
public
SequenceNumber
Flush()
461
return this.Flush(
SequenceNumber
.Invalid);
465
public
SequenceNumber
Flush(
SequenceNumber
sequenceNumber)
540
SequenceNumber
start,
571
public
SequenceNumber
ReserveAndAppend(
573
SequenceNumber
nextUndoRecord,
574
SequenceNumber
previousRecord,
587
public
SequenceNumber
ReserveAndAppend(
589
SequenceNumber
nextUndoRecord,
590
SequenceNumber
previousRecord,
628
SequenceNumber
returnValue = Append(data, nextUndoRecord, previousRecord, recordAppendOptions);
644
public
SequenceNumber
WriteRestartArea(
650
public
SequenceNumber
WriteRestartArea(
652
SequenceNumber
newBaseSeqNum)
658
public
SequenceNumber
WriteRestartArea(
660
SequenceNumber
newBaseSeqNum,
668
public
SequenceNumber
WriteRestartArea(
674
public
SequenceNumber
WriteRestartArea(
676
SequenceNumber
newBaseSeqNum)
679
if (newBaseSeqNum ==
SequenceNumber
.Invalid)
704
public
SequenceNumber
WriteRestartArea(
706
SequenceNumber
newBaseSeqNum,
740
SequenceNumber
returnValue = WriteRestartArea(data, newBaseSeqNum);
System\IO\Log\FileRecordSequenceCompletedAsyncResult.cs (3)
22
SequenceNumber
result;
32
SequenceNumber
result,
98
internal
SequenceNumber
End()
System\IO\Log\FileRecordSequenceHelper.cs (31)
16
SequenceNumber
newBaseSeqNum;
17
SequenceNumber
lastRestartArea;
31
this.lastRestartArea =
SequenceNumber
.Invalid;
32
this.newBaseSeqNum =
SequenceNumber
.Invalid;
37
internal
SequenceNumber
BaseSequenceNumber
41
SequenceNumber
first, last;
47
internal
SequenceNumber
LastSequenceNumber
51
SequenceNumber
first, last;
53
if (last !=
SequenceNumber
.Invalid)
78
internal
SequenceNumber
RestartSequenceNumber
95
SequenceNumber
first;
96
SequenceNumber
last;
103
SequenceNumber
sn = last;
104
while (sn !=
SequenceNumber
.Invalid && first <= sn && sn <= last)
117
if (stream.Header.NextUndoLsn ==
SequenceNumber
.Invalid)
132
if (this.newBaseSeqNum !=
SequenceNumber
.Invalid)
137
this.newBaseSeqNum =
SequenceNumber
.Invalid;
157
internal void ValidateSequenceNumber(
SequenceNumber
sequenceNumber)
159
if (sequenceNumber ==
SequenceNumber
.Invalid || sequenceNumber.Low != 0)
170
internal void AdvanceBaseSequeceNumber(
SequenceNumber
newBaseSequenceNumber)
195
internal
SequenceNumber
Append(IList<ArraySegment<byte>> data,
196
SequenceNumber
nextUndoRecord,
197
SequenceNumber
previousRecord,
230
internal
SequenceNumber
Flush(
SequenceNumber
sequenceNumber)
234
if (sequenceNumber ==
SequenceNumber
.Invalid)
251
internal
SequenceNumber
WriteRestartAreaInternal(
253
SequenceNumber
newBaseSeqNum)
273
SequenceNumber
sn;
286
SequenceNumber
.Invalid,
299
SequenceNumber
prev, next;
System\IO\Log\IRecordSequence.cs (55)
11
SequenceNumber
BaseSequenceNumber { get; }
12
SequenceNumber
LastSequenceNumber { get; }
16
SequenceNumber
RestartSequenceNumber { get; }
21
SequenceNumber
newBaseSequenceNumber);
23
SequenceNumber
Append(
25
SequenceNumber
nextUndoRecord,
26
SequenceNumber
previousRecord,
28
SequenceNumber
Append(
30
SequenceNumber
nextUndoRecord,
31
SequenceNumber
previousRecord,
34
SequenceNumber
Append(
36
SequenceNumber
nextUndoRecord,
37
SequenceNumber
previousRecord,
39
SequenceNumber
Append(
41
SequenceNumber
nextUndoRecord,
42
SequenceNumber
previousRecord,
48
SequenceNumber
nextUndoRecord,
49
SequenceNumber
previousRecord,
55
SequenceNumber
nextUndoRecord,
56
SequenceNumber
previousRecord,
63
SequenceNumber
nextUndoRecord,
64
SequenceNumber
previousRecord,
70
SequenceNumber
nextUndoRecord,
71
SequenceNumber
previousUndoRecord,
78
SequenceNumber
sequenceNumber,
84
SequenceNumber
nextUndoRecord,
85
SequenceNumber
previousRecord,
93
SequenceNumber
nextUndoRecord,
94
SequenceNumber
previousRecord,
103
SequenceNumber
newBaseSequenceNumber,
109
SequenceNumber
newBaseSequenceNumber,
116
SequenceNumber
EndAppend(
119
SequenceNumber
EndFlush(
122
SequenceNumber
EndReserveAndAppend(
125
SequenceNumber
EndWriteRestartArea(
128
SequenceNumber
Flush();
130
SequenceNumber
Flush(
131
SequenceNumber
sequenceNumber);
134
SequenceNumber
start,
139
SequenceNumber
ReserveAndAppend(
141
SequenceNumber
nextUndoRecord,
142
SequenceNumber
previousRecord,
146
SequenceNumber
ReserveAndAppend(
148
SequenceNumber
nextUndoRecord,
149
SequenceNumber
previousRecord,
154
SequenceNumber
WriteRestartArea(
156
SequenceNumber
WriteRestartArea(
158
SequenceNumber
WriteRestartArea(
160
SequenceNumber
newBaseSequenceNumber);
161
SequenceNumber
WriteRestartArea(
163
SequenceNumber
newBaseSequenceNumber);
164
SequenceNumber
WriteRestartArea(
166
SequenceNumber
newBaseSequenceNumber,
168
SequenceNumber
WriteRestartArea(
170
SequenceNumber
newBaseSequenceNumber,
System\IO\Log\LogArchiveSnapshot.cs (6)
13
SequenceNumber
archiveTail;
14
SequenceNumber
baseSequenceNumber;
15
SequenceNumber
lastSequenceNumber;
136
public
SequenceNumber
ArchiveTail
144
public
SequenceNumber
BaseSequenceNumber
152
public
SequenceNumber
LastSequenceNumber
System\IO\Log\LogLogRecord.cs (9)
13
SequenceNumber
sequenceNumber;
14
SequenceNumber
previous;
15
SequenceNumber
user;
18
SequenceNumber
sequenceNumber,
19
SequenceNumber
user,
20
SequenceNumber
previous,
71
public override
SequenceNumber
Previous
79
public override
SequenceNumber
SequenceNumber
87
public override
SequenceNumber
User
System\IO\Log\LogManagementAsyncResult.cs (1)
260
SequenceNumber
targetLsn;
System\IO\Log\LogRecord.cs (3)
12
public abstract
SequenceNumber
Previous { get; }
13
public abstract
SequenceNumber
SequenceNumber { get; }
14
public abstract
SequenceNumber
User { get; }
System\IO\Log\LogRecordSequence.cs (61)
160
public
SequenceNumber
BaseSequenceNumber
168
public
SequenceNumber
LastSequenceNumber
233
public
SequenceNumber
RestartSequenceNumber
241
return
SequenceNumber
.Invalid;
261
SequenceNumber
newBaseSequenceNumber)
277
public
SequenceNumber
Append(
279
SequenceNumber
nextUndoRecord,
280
SequenceNumber
previousRecord,
290
public
SequenceNumber
Append(
292
SequenceNumber
nextUndoRecord,
293
SequenceNumber
previousRecord,
304
public
SequenceNumber
Append(
306
SequenceNumber
userRecord,
307
SequenceNumber
previousRecord,
318
public
SequenceNumber
Append(
320
SequenceNumber
userRecord,
321
SequenceNumber
previousRecord,
370
SequenceNumber
nextUndoRecord,
371
SequenceNumber
previousRecord,
386
SequenceNumber
nextUndoRecord,
387
SequenceNumber
previousRecord,
404
SequenceNumber
userRecord,
405
SequenceNumber
previousRecord,
422
SequenceNumber
userRecord,
423
SequenceNumber
previousRecord,
473
SequenceNumber
sequenceNumber,
487
if (sequenceNumber ==
SequenceNumber
.Invalid)
502
SequenceNumber
nextUndoRecord,
503
SequenceNumber
previousRecord,
522
SequenceNumber
userRecord,
523
SequenceNumber
previousRecord,
575
SequenceNumber
newBaseSeqNum,
589
SequenceNumber
newBaseSeqNum,
638
public
SequenceNumber
EndAppend(
657
public
SequenceNumber
EndFlush(
669
public
SequenceNumber
EndReserveAndAppend(
688
public
SequenceNumber
EndWriteRestartArea(
700
public
SequenceNumber
Flush()
702
return Flush(
SequenceNumber
.Invalid);
705
public
SequenceNumber
Flush(
SequenceNumber
sequenceNumber)
715
if (sequenceNumber ==
SequenceNumber
.Invalid)
733
SequenceNumber
start,
768
public
SequenceNumber
ReserveAndAppend(
770
SequenceNumber
nextUndoRecord,
771
SequenceNumber
previousRecord,
784
public
SequenceNumber
ReserveAndAppend(
786
SequenceNumber
userRecord,
787
SequenceNumber
previousRecord,
835
SequenceNumber
sequenceNumber)
864
public
SequenceNumber
WriteRestartArea(
870
public
SequenceNumber
WriteRestartArea(
873
return WriteRestartArea(data,
SequenceNumber
.Invalid);
876
public
SequenceNumber
WriteRestartArea(
878
SequenceNumber
newBaseSeqNum)
884
public
SequenceNumber
WriteRestartArea(
886
SequenceNumber
newBaseSeqNum)
891
public
SequenceNumber
WriteRestartArea(
893
SequenceNumber
newBaseSeqNum,
901
public
SequenceNumber
WriteRestartArea(
903
SequenceNumber
newBaseSeqNum,
System\IO\Log\LogRestartAreaEnumerator.cs (4)
143
SequenceNumber
.Invalid,
144
SequenceNumber
.Invalid,
180
SequenceNumber
.Invalid,
181
SequenceNumber
.Invalid,
System\IO\Log\LogStore.cs (13)
218
public
SequenceNumber
BaseSequenceNumber
305
public
SequenceNumber
LastSequenceNumber
370
SequenceNumber
.Invalid,
371
SequenceNumber
.Invalid);
375
SequenceNumber
first,
376
SequenceNumber
last)
395
if ((first ==
SequenceNumber
.Invalid) ||
396
(last ==
SequenceNumber
.Invalid))
401
if (first ==
SequenceNumber
.Invalid)
407
if (last ==
SequenceNumber
.Invalid)
429
public void SetArchiveTail(
SequenceNumber
archiveTail)
458
ref
SequenceNumber
sequenceNumber,
462
if (sequenceNumber ==
SequenceNumber
.Invalid)
System\IO\Log\SequenceNumber.cs (19)
11
public struct SequenceNumber : IComparable<
SequenceNumber
>
65
public static
SequenceNumber
Invalid
74
SequenceNumber
c1,
75
SequenceNumber
c2)
81
SequenceNumber
c1,
82
SequenceNumber
c2)
87
public static bool operator <=(
SequenceNumber
c1,
88
SequenceNumber
c2)
94
SequenceNumber
c1,
95
SequenceNumber
c2)
101
SequenceNumber
c1,
102
SequenceNumber
c2)
108
SequenceNumber
c1,
109
SequenceNumber
c2)
114
public int CompareTo(
SequenceNumber
other)
123
public bool Equals(
SequenceNumber
other)
130
if (!(other is
SequenceNumber
))
133
SequenceNumber
otherSeq = (
SequenceNumber
)(other);
System\IO\Log\SimpleFileLog.cs (11)
93
internal void TruncatePrefix(
SequenceNumber
seqNumber)
115
internal void Force(
SequenceNumber
seqNumber)
137
internal void GetLogLimits(out
SequenceNumber
first, out
SequenceNumber
last)
165
internal
SequenceNumber
AppendRecord(UnmanagedBlob[] data, bool fForceNow)
204
internal void ReadRecord(
SequenceNumber
seqNumtoRead, out byte[] record, out int recordSize, out
SequenceNumber
previous, out
SequenceNumber
next)
253
internal void ReadRecordPrefix(
SequenceNumber
seqNumtoRead, out byte[] record, ref int cbData, out int recordSize, out
SequenceNumber
previous, out
SequenceNumber
next)
System\IO\Log\TailPinnedEventArgs.cs (3)
8
SequenceNumber
sequenceNumber;
10
public TailPinnedEventArgs(
SequenceNumber
sequenceNumber)
15
public
SequenceNumber
TargetSequenceNumber