org.jclouds.sqs
Class SQS
java.lang.Object
org.jclouds.sqs.SQS
@Beta
public class SQS
- extends Object
Utilities for interacting with SQS
- Author:
- Adrian Cole
|
Constructor Summary |
SQS()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQS
public SQS()
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
Copyright © 2009-2013 jclouds. All Rights Reserved.