Class ZoneTreeMetaWAL<TKey, TValue>
Inheritance
ZoneTreeMetaWAL<TKey, TValue>
Assembly: ZoneTree.dll
public sealed class ZoneTreeMetaWAL<TKey, TValue> : IDisposable
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
Constructors
|
Improve this Doc
View Source
Declaration
public ZoneTreeMetaWAL(ZoneTreeOptions<TKey, TValue> options, bool isReadOnly)
Parameters
Properties
|
Improve this Doc
View Source
Declaration
public bool IsReadOnly { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public ZoneTreeOptions<TKey, TValue> Options { get; }
Property Value
Methods
|
Improve this Doc
View Source
ClearContent()
Declaration
public void ClearContent()
|
Improve this Doc
View Source
Declaration
public void DeleteBottomSegment(long segmentId)
Parameters
Type |
Name |
Description |
long |
segmentId |
|
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Declaration
public void DequeueBottomSegment(long segmentId)
Parameters
Type |
Name |
Description |
long |
segmentId |
|
|
Improve this Doc
View Source
Declaration
public void DequeueReadOnlySegment(long segmentId)
Parameters
Type |
Name |
Description |
long |
segmentId |
|
|
Improve this Doc
View Source
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
|
Improve this Doc
View Source
Declaration
public void EnqueueBottomSegment(long segmentId)
Parameters
Type |
Name |
Description |
long |
segmentId |
|
|
Improve this Doc
View Source
Declaration
public void EnqueueReadOnlySegment(long segmentId)
Parameters
Type |
Name |
Description |
long |
segmentId |
|
|
Improve this Doc
View Source
Declaration
public static bool Exists(ZoneTreeOptions<TKey, TValue> options)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public IReadOnlyList<MetaWalRecord> GetAllRecords()
Returns
|
Improve this Doc
View Source
Declaration
public void InsertBottomSegment(long segmentId, int index)
Parameters
Type |
Name |
Description |
long |
segmentId |
|
int |
index |
|
|
Improve this Doc
View Source
Declaration
public static ZoneTreeMeta LoadZoneTreeMetaWithoutWALRecords(IRandomAccessDeviceManager deviceManager)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public void NewDiskSegment(long segmentId)
Parameters
Type |
Name |
Description |
long |
segmentId |
|
|
Improve this Doc
View Source
Declaration
public void NewMutableSegment(long segmentId)
Parameters
Type |
Name |
Description |
long |
segmentId |
|
|
Improve this Doc
View Source
Declaration
public void SaveMetaData(ZoneTreeMeta zoneTreeMeta, long mutableSegment, long diskSegment, long[] readOnlySegments, long[] bottomSegments, bool createNew = false)
Parameters
Implements