Table of Contents

Class StorageConfiguration

Namespace
Monai.Deploy.InformaticsGateway.Configuration
Assembly
Monai.Deploy.InformaticsGateway.Configuration.dll
public class StorageConfiguration : StorageServiceConfiguration
Inheritance
StorageConfiguration
Inherited Members

Properties

BufferSize

Gets or sets the number of bytes buffered for reads and writes to the temporary file. Defaults to 128000.

[ConfigurationKeyName("bufferSize")]
public int BufferSize { get; set; }

Property Value

int

ConcurrentUploads

Gets or set the maximum number of concurrent uploads. Default is 2;

[ConfigurationKeyName("concurrentUploads")]
public int ConcurrentUploads { get; set; }

Property Value

int

LocalTemporaryStoragePath

Gets or sets the path used for buffering incoming data. Defaults to ./temp.

[ConfigurationKeyName("localTemporaryStoragePath")]
public string LocalTemporaryStoragePath { get; set; }

Property Value

string

MemoryThreshold

Gets or set the maximum memory buffer size in bytes with default to 30MiB.

[ConfigurationKeyName("memoryThreshold")]
public int MemoryThreshold { get; set; }

Property Value

int

PayloadProcessThreads

Gets or set number of payloads to be processed at a given time. Default is 1;

[ConfigurationKeyName("payloadProcessThreads")]
public int PayloadProcessThreads { get; set; }

Property Value

int

RemoteTemporaryStoragePath

Gets or sets root directory path for storing incoming data in the temporaryBucketName. Defaults to /incoming.

[ConfigurationKeyName("remoteTemporaryStoragePath")]
public string RemoteTemporaryStoragePath { get; set; }

Property Value

string

ReserveSpaceGB

Gets or sets the reserved disk space for the MONAI Deploy Informatics Gateway with default value of 5GB. MONAI Deploy Informatics Gateway will stop accepting (C-STORE-RQ) associations, stop exporting and stop retrieving data via DICOMweb when available disk space is less than the value.

[ConfigurationKeyName("reserveSpaceGB")]
public uint ReserveSpaceGB { get; set; }

Property Value

uint

Retries

Gets or sets retry options relate to saving files to temporary storage, processing payloads and uploading payloads to the storage service.

[ConfigurationKeyName("retries")]
public RetryConfiguration Retries { get; set; }

Property Value

RetryConfiguration

StorageServiceBucketName

Gets or sets the name of the bucket where payloads are uploaded to.

[ConfigurationKeyName("bucketName")]
public string StorageServiceBucketName { get; set; }

Property Value

string

StorageServiceListTimeout

Gets or set the timeout value, in milliseconds, for calls made to the storage service. Default is 5000; This applies to the following calls: ListObjectsAsync, VerifyObjectsExistAsync, VerifyObjectExistsAsync, ListObjectsWithCredentialsAsync.

[ConfigurationKeyName("storageServiceListTimeout")]
public int StorageServiceListTimeout { get; set; }

Property Value

int

TemporaryDataStorage

Gets or sets whether to store temporary data in Memory or on Disk. Defaults to Memory.

[ConfigurationKeyName("tempStorageLocation")]
public TemporaryDataStorageLocation TemporaryDataStorage { get; set; }

Property Value

TemporaryDataStorageLocation

TemporaryStorageBucket

Gets or sets the name of the bucket used for storing objects before they are assembled into payloads.

[ConfigurationKeyName("temporaryBucketName")]
public string TemporaryStorageBucket { get; set; }

Property Value

string

Watermark

Gets or sets the watermark for disk usage with default value of 75%, meaning that MONAI Deploy Informatics Gateway will stop accepting (C-STORE-RQ) associations, stop exporting and stop retrieving data via DICOMweb when used disk space is above the watermark.

[ConfigurationKeyName("watermarkPercent")]
public uint Watermark { get; set; }

Property Value

uint