public class SendQueueBuffer extends Object
public QueueBufferConfig getConfig()
public com.amazonaws.services.sqs.buffered.QueueBufferFuture<SendMessageRequest,SendMessageResult> sendMessage(SendMessageRequest request, com.amazonaws.services.sqs.buffered.QueueBufferCallback<SendMessageRequest,SendMessageResult> callback)
public com.amazonaws.services.sqs.buffered.QueueBufferFuture<DeleteMessageRequest,DeleteMessageResult> deleteMessage(DeleteMessageRequest request, com.amazonaws.services.sqs.buffered.QueueBufferCallback<DeleteMessageRequest,DeleteMessageResult> callback)
public com.amazonaws.services.sqs.buffered.QueueBufferFuture<ChangeMessageVisibilityRequest,ChangeMessageVisibilityResult> changeMessageVisibility(ChangeMessageVisibilityRequest request, com.amazonaws.services.sqs.buffered.QueueBufferCallback<ChangeMessageVisibilityRequest,ChangeMessageVisibilityResult> callback)
public void flush()
SendMessage
, DeleteMessage
,
ChangeMessageVisibility
) in this buffer.
The call returns successfully when all outstanding outbound requests submitted before the call are completed (i.e. processed by SQS).
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.