Package io.datarouter.aws.sqs
Class SqsClientManager
java.lang.Object
io.datarouter.storage.client.BaseClientManager
io.datarouter.aws.sqs.SqsClientManager
- All Implemented Interfaces:
io.datarouter.storage.client.ClientManager
@Singleton
public class SqsClientManager
extends io.datarouter.storage.client.BaseClientManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllQueueAttributes(io.datarouter.storage.client.ClientId clientId, String sqsQueueUrl) com.amazonaws.services.sqs.AmazonSQSgetAmazonSqs(io.datarouter.storage.client.ClientId clientId) getApproximateAgeOfOldestUnackedMessageSecondsGroup(io.datarouter.storage.client.ClientId clientId, List<String> queueNames) getQueueAttribute(io.datarouter.storage.client.ClientId clientId, String queueUrl, com.amazonaws.services.sqs.model.QueueAttributeName attributeName) getQueueAttributes(io.datarouter.storage.client.ClientId clientId, String queueUrl, List<String> attributes) protected voidsafeInitClient(io.datarouter.storage.client.ClientId clientId) voidshutdown(io.datarouter.storage.client.ClientId clientId) voidupdateAttr(io.datarouter.storage.client.ClientId clientId, String queueUrl, com.amazonaws.services.sqs.model.QueueAttributeName key, Object value) Methods inherited from class io.datarouter.storage.client.BaseClientManager
doSchemaUpdate, doSchemaUpdate, gatherSchemaUpdates, initClient, monitorLatency
-
Constructor Details
-
SqsClientManager
public SqsClientManager()
-
-
Method Details
-
shutdown
public void shutdown(io.datarouter.storage.client.ClientId clientId) -
safeInitClient
protected void safeInitClient(io.datarouter.storage.client.ClientId clientId) - Specified by:
safeInitClientin classio.datarouter.storage.client.BaseClientManager
-
getAmazonSqs
public com.amazonaws.services.sqs.AmazonSQS getAmazonSqs(io.datarouter.storage.client.ClientId clientId) -
getQueueAttribute
-
getAllQueueAttributes
-
getApproximateAgeOfOldestUnackedMessageSecondsGroup
-
getQueueAttributes
-
updateAttr
-