Class ReceiveMessageBatchManager
java.lang.Object
software.amazon.awssdk.services.sqs.internal.batchmanager.ReceiveMessageBatchManager
- All Implemented Interfaces:
AutoCloseable,SdkAutoCloseable
Sends batchable receive requests to the queue's buffer and the rest directly to SQS. A queue gets no buffer until its
attributes load, so queue URLs that don't exist never take a slot.
-
Constructor Summary
ConstructorsConstructorDescriptionReceiveMessageBatchManager(SqsAsyncClient sqsClient, ScheduledExecutorService executor, ResponseBatchConfiguration config) -
Method Summary
-
Constructor Details
-
ReceiveMessageBatchManager
public ReceiveMessageBatchManager(SqsAsyncClient sqsClient, ScheduledExecutorService executor, ResponseBatchConfiguration config)
-
-
Method Details
-
batchRequest
-
close
public void close()Description copied from interface:SdkAutoCloseable- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSdkAutoCloseable
-