org.jclouds.sqs
Class SQS

java.lang.Object
  extended by org.jclouds.sqs.SQS

@Beta
public class SQS
extends Object

Utilities for interacting with SQS

Author:
Adrian Cole

Constructor Summary
SQS()
           
 
Method Summary
static com.google.common.collect.FluentIterable<Message> receiveAllAtRate(MessageApi api, int messagesPerPage, ReceiveMessageOptions options)
          Returns an iterable that lazy fetches messages until there are none left.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQS

public SQS()
Method Detail

receiveAllAtRate

public static com.google.common.collect.FluentIterable<Message> receiveAllAtRate(MessageApi api,
                                                                                 int messagesPerPage,
                                                                                 ReceiveMessageOptions options)
Returns an iterable that lazy fetches messages until there are none left. Note that this method will make multiple network calls.

Parameters:
api - api targeted at the queue in question
messagesPerPage - how many messages to receive per request (current max: 10)
options - controls attributes and visibility options
Returns:
an iterable that lazy fetches messages until there are none left


Copyright © 2009-2013 jclouds. All Rights Reserved.