Class ReceiveBatchManager
- java.lang.Object
-
- software.amazon.awssdk.services.sqs.internal.batchmanager.ReceiveBatchManager
-
- All Implemented Interfaces:
AutoCloseable
,SdkAutoCloseable
public class ReceiveBatchManager extends Object implements SdkAutoCloseable
-
-
Constructor Summary
Constructors Constructor Description ReceiveBatchManager(SqsAsyncClient sqsClient, ScheduledExecutorService executor, ResponseBatchConfiguration config, String queueUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
CompletableFuture<ReceiveMessageResponse>
processRequest(ReceiveMessageRequest rq)
-
-
-
Constructor Detail
-
ReceiveBatchManager
public ReceiveBatchManager(SqsAsyncClient sqsClient, ScheduledExecutorService executor, ResponseBatchConfiguration config, String queueUrl)
-
-
Method Detail
-
processRequest
public CompletableFuture<ReceiveMessageResponse> processRequest(ReceiveMessageRequest rq)
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSdkAutoCloseable
-
-