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 Details

  • Method Details

    • shutdown

      public void shutdown​(io.datarouter.storage.client.ClientId clientId)
    • safeInitClient

      protected void safeInitClient​(io.datarouter.storage.client.ClientId clientId)
      Specified by:
      safeInitClient in class io.datarouter.storage.client.BaseClientManager
    • getAmazonSqs

      public com.amazonaws.services.sqs.AmazonSQS getAmazonSqs​(io.datarouter.storage.client.ClientId clientId)
    • getQueueAttribute

      public String getQueueAttribute​(io.datarouter.storage.client.ClientId clientId, String queueUrl, com.amazonaws.services.sqs.model.QueueAttributeName attributeName)
    • getAllQueueAttributes

      public Map<String,​String> getAllQueueAttributes​(io.datarouter.storage.client.ClientId clientId, String sqsQueueUrl)
    • getQueueAttributes

      public Map<String,​String> getQueueAttributes​(io.datarouter.storage.client.ClientId clientId, String queueUrl, List<String> attributes)
    • updateAttr

      public void updateAttr​(io.datarouter.storage.client.ClientId clientId, String queueUrl, com.amazonaws.services.sqs.model.QueueAttributeName key, Object value)