public class SendQueueBuffer
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
com.amazonaws.services.sqs.buffered.QueueBufferFuture<ChangeMessageVisibilityRequest,java.lang.Void> |
changeMessageVisibility(ChangeMessageVisibilityRequest request,
com.amazonaws.services.sqs.buffered.QueueBufferCallback<ChangeMessageVisibilityRequest,java.lang.Void> callback) |
com.amazonaws.services.sqs.buffered.QueueBufferFuture<DeleteMessageRequest,java.lang.Void> |
deleteMessage(DeleteMessageRequest request,
com.amazonaws.services.sqs.buffered.QueueBufferCallback<DeleteMessageRequest,java.lang.Void> callback) |
void |
flush()
Flushes all outstanding outbound requests (
SendMessage ,
DeleteMessage , ChangeMessageVisibility ) in this buffer. |
QueueBufferConfig |
getConfig() |
com.amazonaws.services.sqs.buffered.QueueBufferFuture<SendMessageRequest,SendMessageResult> |
sendMessage(SendMessageRequest request,
com.amazonaws.services.sqs.buffered.QueueBufferCallback<SendMessageRequest,SendMessageResult> callback) |
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,java.lang.Void> deleteMessage(DeleteMessageRequest request, com.amazonaws.services.sqs.buffered.QueueBufferCallback<DeleteMessageRequest,java.lang.Void> callback)
public com.amazonaws.services.sqs.buffered.QueueBufferFuture<ChangeMessageVisibilityRequest,java.lang.Void> changeMessageVisibility(ChangeMessageVisibilityRequest request, com.amazonaws.services.sqs.buffered.QueueBufferCallback<ChangeMessageVisibilityRequest,java.lang.Void> 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 © 2018 Amazon Web Services, Inc. All Rights Reserved.