Class SqsOpFactory<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>,​F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,​D>>

java.lang.Object
io.datarouter.aws.sqs.SqsOpFactory<PK,​D,​F>

public class SqsOpFactory<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>,​F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,​D>>
extends Object
  • Constructor Details

    • SqsOpFactory

      public SqsOpFactory​(BaseSqsNode<PK,​D,​F> sqsNode, SqsClientManager sqsClientManager, io.datarouter.storage.client.ClientId clientId)
  • Method Details

    • makePeekMultiOp

      public SqsOp<PK,​D,​F,​List<io.datarouter.storage.queue.QueueMessage<PK,​D>>> makePeekMultiOp​(io.datarouter.storage.config.Config config)
    • makeAckMultiOp

      public SqsOp<PK,​D,​F,​Void> makeAckMultiOp​(Collection<io.datarouter.storage.queue.QueueMessageKey> keys, io.datarouter.storage.config.Config config)
    • makePutMultiOp

      public SqsOp<PK,​D,​F,​Void> makePutMultiOp​(Collection<D> databeans, io.datarouter.storage.config.Config config)
    • makePutOp

      public SqsOp<PK,​D,​F,​Void> makePutOp​(D databean, io.datarouter.storage.config.Config config)
    • makeAckOp

      public SqsOp<PK,​D,​F,​Void> makeAckOp​(io.datarouter.storage.queue.QueueMessageKey key, io.datarouter.storage.config.Config config)
    • makeGroupPutMultiOp

      public SqsOp<PK,​D,​F,​Void> makeGroupPutMultiOp​(Collection<D> databeans, io.datarouter.storage.config.Config config)
    • makeGroupPeekMultiOp

      public SqsOp<PK,​D,​F,​List<io.datarouter.storage.queue.GroupQueueMessage<PK,​D>>> makeGroupPeekMultiOp​(io.datarouter.storage.config.Config config)