Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.glacier.transfer
Class JobStatusMonitor

java.lang.Object
  extended by com.amazonaws.services.glacier.transfer.JobStatusMonitor

public class JobStatusMonitor
extends Object

Utility for monitoring the status of an Amazon Glacier job, through Amazon SNS/SQS.


Constructor Summary
JobStatusMonitor(AmazonSQSClient sqs, AmazonSNSClient sns)
          Constructs a JobStatusMonitor that will use the specified clients for polling archive download job status.
JobStatusMonitor(AWSCredentialsProvider credentialsProvider, ClientConfiguration clientConfiguration)
           
 
Method Summary
 String getTopicArn()
           
 void shutdown()
           
 void waitForJobToComplete(String jobId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobStatusMonitor

public JobStatusMonitor(AWSCredentialsProvider credentialsProvider,
                        ClientConfiguration clientConfiguration)

JobStatusMonitor

public JobStatusMonitor(AmazonSQSClient sqs,
                        AmazonSNSClient sns)
Constructs a JobStatusMonitor that will use the specified clients for polling archive download job status.

Parameters:
sqs - The client for working with Amazon SQS when polling archive retrieval job status.
sns - The client for working with Amazon SNS when polling archive retrieval job status.
Method Detail

getTopicArn

public String getTopicArn()

shutdown

public void shutdown()

waitForJobToComplete

public void waitForJobToComplete(String jobId)


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.