Interface IInstanceCleanupQueue
Interface of Instance Cleanup Queue
Namespace: Nvidia.Clara.DicomAdapter.API
Assembly: Nvidia.Clara.Dicom.API.dll
Syntax
public interface IInstanceCleanupQueue
Methods
| Improve this Doc View SourceDequeue(CancellationToken)
Dequeue a file from the queue for cleanup. The default implementation blocks the call until a file is available from the queue.
Declaration
string Dequeue(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken | Propagates notification that operations should be canceled. |
Returns
Type | Description |
---|---|
String |
QueueInstance(String)
Queue a new file to be cleaned up.
Declaration
void QueueInstance(string filePath)
Parameters
Type | Name | Description |
---|---|---|
String | filePath | Path to the file to be removed. |