Class SqsGroupNode<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.storage.node.BaseNode<PK,D,F>
io.datarouter.storage.node.type.physical.base.BasePhysicalNode<PK,D,F>
io.datarouter.aws.sqs.BaseSqsNode<PK,D,F>
io.datarouter.aws.sqs.group.SqsGroupNode<PK,D,F>
All Implemented Interfaces:
SqsPhysicalNode<PK,D,F>, io.datarouter.storage.node.Node<PK,D,F>, io.datarouter.storage.node.op.NodeOps<PK,D>, io.datarouter.storage.node.op.raw.GroupQueueStorage<PK,D>, io.datarouter.storage.node.op.raw.GroupQueueStorage.GroupQueueStorageNode<PK,D,F>, io.datarouter.storage.node.op.raw.GroupQueueStorage.PhysicalGroupQueueStorageNode<PK,D,F>, io.datarouter.storage.node.op.raw.read.GroupQueueStorageReader<PK,D>, io.datarouter.storage.node.op.raw.write.QueueStorageWriter<PK,D>, io.datarouter.storage.node.op.raw.write.QueueStorageWriter.PhysicalQueueStorageWriterNode<PK,D,F>, io.datarouter.storage.node.op.raw.write.QueueStorageWriter.QueueStorageWriterNode<PK,D,F>, io.datarouter.storage.node.op.raw.write.StorageWriter<PK,D>, io.datarouter.storage.node.op.raw.write.StorageWriter.StorageWriterNode<PK,D,F>, io.datarouter.storage.node.type.physical.PhysicalNode<PK,D,F>, Comparable<io.datarouter.storage.node.Node<PK,D,F>>

public class SqsGroupNode<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 BaseSqsNode<PK,D,F> implements io.datarouter.storage.node.op.raw.GroupQueueStorage.PhysicalGroupQueueStorageNode<PK,D,F>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.GroupQueueStorage

    io.datarouter.storage.node.op.raw.GroupQueueStorage.GroupQueueStorageNode<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>>, io.datarouter.storage.node.op.raw.GroupQueueStorage.PhysicalGroupQueueStorageNode<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>>

    Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.write.QueueStorageWriter

    io.datarouter.storage.node.op.raw.write.QueueStorageWriter.PhysicalQueueStorageWriterNode<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>>, io.datarouter.storage.node.op.raw.write.QueueStorageWriter.QueueStorageWriterNode<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>>

    Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.write.StorageWriter

    io.datarouter.storage.node.op.raw.write.StorageWriter.StorageWriterNode<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>>
  • Field Summary

    Fields inherited from interface io.datarouter.storage.node.op.raw.GroupQueueStorage

    OP_pollMulti, OP_pollUntilEmpty

    Fields inherited from interface io.datarouter.storage.node.op.raw.read.GroupQueueStorageReader

    OP_peek, OP_peekMulti, OP_peekUntilEmpty

    Fields inherited from interface io.datarouter.storage.node.op.raw.write.QueueStorageWriter

    OP_ack, OP_ackMulti

    Fields inherited from interface io.datarouter.storage.node.op.raw.write.StorageWriter

    OP_put, OP_putMulti
  • Constructor Summary

    Constructors
    Constructor
    Description
    SqsGroupNode(SqsQueueNameService sqsQueueNameService, io.datarouter.storage.node.NodeParams<PK,D,F> params, SqsClientType sqsClientType, SqsClientManager sqsClientManager, io.datarouter.storage.client.ClientId clientId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.datarouter.storage.queue.GroupQueueMessage<PK,D>
    peek(io.datarouter.storage.config.Config config)
     
    List<io.datarouter.storage.queue.GroupQueueMessage<PK,D>>
    peekMulti(io.datarouter.storage.config.Config config)
     
    io.datarouter.scanner.Scanner<io.datarouter.storage.queue.GroupQueueMessage<PK,D>>
    peekUntilEmpty(io.datarouter.storage.config.Config config)
     
    pollMulti(io.datarouter.storage.config.Config config)
     
    void
    put(D databean, io.datarouter.storage.config.Config config)
     
    void
    putMulti(Collection<D> databeans, io.datarouter.storage.config.Config config)
     

    Methods inherited from class io.datarouter.storage.node.type.physical.base.BasePhysicalNode

    getChildNodes, getClientId, getClientIds, getClientType, getFieldInfo, getName, getPhysicalNodes, getPhysicalNodesForClient, toString, usesClient

    Methods inherited from class io.datarouter.storage.node.BaseNode

    compareTo

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface io.datarouter.storage.node.op.raw.GroupQueueStorage

    pollMulti

    Methods inherited from interface io.datarouter.storage.node.op.raw.read.GroupQueueStorageReader

    peek, peekMulti, peekUntilEmpty

    Methods inherited from interface io.datarouter.storage.node.Node

    getChildNodes, getClientIds, getName, getPhysicalNodes, getPhysicalNodesForClient, usesClient

    Methods inherited from interface io.datarouter.storage.node.type.physical.PhysicalNode

    getClientId, getClientType, getFieldInfo

    Methods inherited from interface io.datarouter.storage.node.op.raw.write.QueueStorageWriter

    ack, ack, ackMulti, ackMulti

    Methods inherited from interface io.datarouter.storage.node.op.raw.write.StorageWriter

    put, putMulti
  • Constructor Details

  • Method Details

    • put

      public void put(D databean, io.datarouter.storage.config.Config config)
      Specified by:
      put in interface io.datarouter.storage.node.op.raw.write.StorageWriter<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
    • putMulti

      public void putMulti(Collection<D> databeans, io.datarouter.storage.config.Config config)
      Specified by:
      putMulti in interface io.datarouter.storage.node.op.raw.write.StorageWriter<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
    • peek

      public io.datarouter.storage.queue.GroupQueueMessage<PK,D> peek(io.datarouter.storage.config.Config config)
      Specified by:
      peek in interface io.datarouter.storage.node.op.raw.read.GroupQueueStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
    • peekMulti

      public List<io.datarouter.storage.queue.GroupQueueMessage<PK,D>> peekMulti(io.datarouter.storage.config.Config config)
      Specified by:
      peekMulti in interface io.datarouter.storage.node.op.raw.read.GroupQueueStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
    • peekUntilEmpty

      public io.datarouter.scanner.Scanner<io.datarouter.storage.queue.GroupQueueMessage<PK,D>> peekUntilEmpty(io.datarouter.storage.config.Config config)
      Specified by:
      peekUntilEmpty in interface io.datarouter.storage.node.op.raw.read.GroupQueueStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
    • pollMulti

      public List<D> pollMulti(io.datarouter.storage.config.Config config)
      Specified by:
      pollMulti in interface io.datarouter.storage.node.op.raw.GroupQueueStorage<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>