public class QueueMessageVisibility extends Object implements Visibility
| Constructor and Description |
|---|
QueueMessageVisibility(com.amazonaws.services.sqs.AmazonSQSAsync amazonSqsAsync,
String queueUrl,
String receiptHandle) |
| Modifier and Type | Method and Description |
|---|---|
Future<?> |
extend(int seconds)
Allows extending the visibility timeout of a message that was already fetched from
the queue, in case when the configured visibility timeout turns out to be to short.
|
public Future<?> extend(int seconds)
Visibilityextend in interface Visibilityseconds - number of seconds to extend the visibility timeout byFuture as the extension can involve some asynchronous request
(i.e. request to an AWS API).Copyright © 2021 Pivotal Software, Inc.. All rights reserved.