ArchiveInitializerTKey, TValueCreateArchiveFile(Int64) Method
Creates a new
SortedTreeTableTKey, TValue based on the settings passed to this class.
Once created, it is up to he caller to make sure that this class is properly disposed of.
Namespace: SnapDB.Snap.Services.WriterAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public SortedTreeTable<TKey, TValue> CreateArchiveFile(
long estimatedSize = -1
)
Public Function CreateArchiveFile (
Optional estimatedSize As Long = -1
) As SortedTreeTable(Of TKey, TValue)
public:
SortedTreeTable<TKey, TValue>^ CreateArchiveFile(
long long estimatedSize = -1
)
function CreateArchiveFile(estimatedSize);
- estimatedSize Int64 (Optional)
-
An optional estimated size (in bytes) for the archive file. Use a negative value to indicate no specific estimation.
SortedTreeTableTKey,
TValue
A new instance of
SortedTreeTableTKey, TValue for archiving data.
This creates a new
SortedTreeTableTKey, TValue instance
for archiving data. It can create the table in-memory or in a file, depending on the
ServerSettings
configuration. If the estimatedSize is specified (non-negative), the method attempts to create the table in a file
with enough space to accommodate the estimated data size.