C# Class Amazon.Glacier.Transfer.Internal.DownloadFileCommand

Inheritance: IDisposable
Mostra file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Disposes of all managed and unmanaged resources.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Implements the Dispose pattern

Private Methods

Method Description
DownloadFileCommand ( ArchiveTransferManager manager, string vaultName, string archiveId, string filePath, DownloadOptions options ) : System
Execute ( ) : void
ExecuteAsync ( ) : System.Threading.Task
getJobIdFromMessage ( Message message ) : string

Parse the sqs message to make sure it contains the right job id and that the job was successful

initiateJob ( ) : string
initiateJobAsync ( ) : Task
processMessage ( Message message, string jobId ) : void
processMessageAsync ( Message message, string jobId ) : System.Threading.Task
processQueue ( string jobId ) : void
processQueueAsync ( string jobId ) : System.Threading.Task
readNextMessage ( ) : Message

Poll messages from the queue. Given the download process takes many hours there is extra long retry logic.

readNextMessageAsync ( ) : Task

Poll messages from the queue. Given the download process takes many hours there is extra long retry logic.

setupTopicAndQueue ( ) : void
setupTopicAndQueueAsync ( ) : System.Threading.Task
tearDownTopicAndQueue ( ) : void
tearDownTopicAndQueueAsync ( ) : System.Threading.Task

Method Details

Dispose() public method

Disposes of all managed and unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Implements the Dispose pattern
protected Dispose ( bool disposing ) : void
disposing bool Whether this object is being disposed via a call to Dispose /// or garbage collected.
return void