Class StorageConfiguration
Inheritance
Inherited Members
Namespace: Monai.Deploy.InformaticsGateway.Configuration
Assembly: Monai.Deploy.InformaticsGateway.Configuration.dll
Syntax
public class StorageConfiguration : StorageServiceConfiguration
Properties
| Improve this Doc View SourceBufferSize
Gets or sets the number of bytes buffered for reads and writes to the temporary file.
Defaults to 128000
.
Declaration
[ConfigurationKeyName("bufferSize")]
public int BufferSize { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ConcurrentUploads
Gets or set the maximum number of concurrent uploads. Default is 2;
Declaration
[ConfigurationKeyName("concurrentUploads")]
public int ConcurrentUploads { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
LocalTemporaryStoragePath
Gets or sets the path used for buffering incoming data.
Defaults to ./temp
.
Declaration
[ConfigurationKeyName("localTemporaryStoragePath")]
public string LocalTemporaryStoragePath { get; set; }
Property Value
Type | Description |
---|---|
String |
MemoryThreshold
Gets or set the maximum memory buffer size in bytes with default to 30MiB.
Declaration
[ConfigurationKeyName("memoryThreshold")]
public int MemoryThreshold { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
PayloadProcessThreads
Gets or set number of payloads to be processed at a given time. Default is 1;
Declaration
[ConfigurationKeyName("payloadProcessThreads")]
public int PayloadProcessThreads { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
RemoteTemporaryStoragePath
Gets or sets root directory path for storing incoming data in the temporaryBucketName
.
Defaults to /incoming
.
Declaration
[ConfigurationKeyName("remoteTemporaryStoragePath")]
public string RemoteTemporaryStoragePath { get; set; }
Property Value
Type | Description |
---|---|
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.
Declaration
[ConfigurationKeyName("reserveSpaceGB")]
public uint ReserveSpaceGB { get; set; }
Property Value
Type | Description |
---|---|
UInt32 |
Retries
Gets or sets retry options relate to saving files to temporary storage, processing payloads and uploading payloads to the storage service.
Declaration
[ConfigurationKeyName("retries")]
public RetryConfiguration Retries { get; set; }
Property Value
Type | Description |
---|---|
RetryConfiguration |
StorageServiceBucketName
Gets or sets the name of the bucket where payloads are uploaded to.
Declaration
[ConfigurationKeyName("bucketName")]
public string StorageServiceBucketName { get; set; }
Property Value
Type | Description |
---|---|
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.
Declaration
[ConfigurationKeyName("storageServiceListTimeout")]
public int StorageServiceListTimeout { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
TemporaryDataStorage
Gets or sets whether to store temporary data in Memory
or on Disk
.
Defaults to Memory
.
Declaration
[ConfigurationKeyName("tempStorageLocation")]
public TemporaryDataStorageLocation TemporaryDataStorage { get; set; }
Property Value
Type | Description |
---|---|
TemporaryDataStorageLocation |
TemporaryStorageBucket
Gets or sets the name of the bucket used for storing objects before they are assembled into payloads.
Declaration
[ConfigurationKeyName("temporaryBucketName")]
public string TemporaryStorageBucket { get; set; }
Property Value
Type | Description |
---|---|
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.
Declaration
[ConfigurationKeyName("watermarkPercent")]
public uint Watermark { get; set; }
Property Value
Type | Description |
---|---|
UInt32 |