Class DiskSegmentCreator<TKey, TValue>
Inheritance
DiskSegmentCreator<TKey, TValue>
Assembly: ZoneTree.dll
Syntax
public sealed class DiskSegmentCreator<TKey, TValue> : IDiskSegmentCreator<TKey, TValue>, IDisposable
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
Constructors
|
Improve this Doc
View Source
DiskSegmentCreator(ZoneTreeOptions<TKey, TValue>, IIncrementalIdProvider)
Declaration
public DiskSegmentCreator(ZoneTreeOptions<TKey, TValue> options, IIncrementalIdProvider incrementalIdProvider)
Parameters
Properties
|
Improve this Doc
View Source
AppendedPartSegmentIds
Declaration
public HashSet<long> AppendedPartSegmentIds { get; }
Property Value
|
Improve this Doc
View Source
CanSkipCurrentPart
Declaration
public bool CanSkipCurrentPart { get; }
Property Value
|
Improve this Doc
View Source
Length
Declaration
public int Length { get; }
Property Value
Methods
|
Improve this Doc
View Source
Append(IDiskSegment<TKey, TValue>, TKey, TKey, TValue, TValue)
Declaration
public void Append(IDiskSegment<TKey, TValue> part, TKey key1, TKey key2, TValue value1, TValue value2)
Parameters
Type |
Name |
Description |
IDiskSegment<TKey, TValue> |
part |
|
TKey |
key1 |
|
TKey |
key2 |
|
TValue |
value1 |
|
TValue |
value2 |
|
|
Improve this Doc
View Source
Append(TKey, TValue, IteratorPosition)
Declaration
public void Append(TKey key, TValue value, IteratorPosition iteratorPosition)
Parameters
|
Improve this Doc
View Source
CreateReadOnlyDiskSegment()
Declaration
public IDiskSegment<TKey, TValue> CreateReadOnlyDiskSegment()
Returns
|
Improve this Doc
View Source
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
|
Improve this Doc
View Source
DropDiskSegment()
Declaration
public void DropDiskSegment()
Implements