Kinetica   C#   API  Version 7.2.3.1
KineticaFileHandler.Options Class Reference

Options for configuring the KineticaFileHandler behavior. More...

Public Member Functions

 Options ()
 Creates a new Options instance with default values. More...
 
 Options (Options other)
 Creates a copy of the specified options. More...
 
Options SetFileSizeToSplit (long size)
 Sets the file size threshold for multi-part uploads. More...
 
Options SetThreadPoolSize (int size)
 Sets the thread pool size for concurrent file operations. More...
 

Properties

long FileSizeToSplit = DefaultFileSizeToSplit [get, set]
 Gets or sets the file size threshold for multi-part uploads in bytes. More...
 
int ThreadPoolSize = DefaultThreadPoolSize [get, set]
 Gets or sets the thread pool size for concurrent file operations. More...
 
int MaxFilesPerBatch = 100 [get, set]
 Gets or sets the maximum number of files to upload in a single batch. More...
 

Detailed Description

Options for configuring the KineticaFileHandler behavior.

Definition at line 856 of file KineticaFileHandler.cs.

Constructor & Destructor Documentation

◆ Options() [1/2]

KineticaFileHandler.Options.Options ( )
inline

Creates a new Options instance with default values.

Definition at line 880 of file KineticaFileHandler.cs.

◆ Options() [2/2]

KineticaFileHandler.Options.Options ( Options  other)
inline

Creates a copy of the specified options.

Parameters
otherThe options to copy.

Definition at line 888 of file KineticaFileHandler.cs.

Member Function Documentation

◆ SetFileSizeToSplit()

Options KineticaFileHandler.Options.SetFileSizeToSplit ( long  size)
inline

Sets the file size threshold for multi-part uploads.

Parameters
sizeThe file size in bytes.
Returns
This options instance for chaining.

Definition at line 900 of file KineticaFileHandler.cs.

◆ SetThreadPoolSize()

Options KineticaFileHandler.Options.SetThreadPoolSize ( int  size)
inline

Sets the thread pool size for concurrent file operations.

Parameters
sizeThe number of threads.
Returns
This options instance for chaining.

Definition at line 913 of file KineticaFileHandler.cs.

Property Documentation

◆ FileSizeToSplit

long KineticaFileHandler.Options.FileSizeToSplit = DefaultFileSizeToSplit
getset

Gets or sets the file size threshold for multi-part uploads in bytes.

Files larger than this will be uploaded in parts. Default is 60 MB.

Definition at line 863 of file KineticaFileHandler.cs.

◆ MaxFilesPerBatch

int KineticaFileHandler.Options.MaxFilesPerBatch = 100
getset

Gets or sets the maximum number of files to upload in a single batch.

Default is 100.

Definition at line 875 of file KineticaFileHandler.cs.

◆ ThreadPoolSize

int KineticaFileHandler.Options.ThreadPoolSize = DefaultThreadPoolSize
getset

Gets or sets the thread pool size for concurrent file operations.

Default is 5.

Definition at line 869 of file KineticaFileHandler.cs.


The documentation for this class was generated from the following file: