Package org.jclouds.sqs
Class SQS
- java.lang.Object
-
- org.jclouds.sqs.SQS
-
@Beta public class SQS extends Object
Utilities for interacting with SQS
-
-
Constructor Summary
Constructors Constructor Description SQS()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 questionmessagesPerPage
- 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
-
-