Class SqsOp<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>,​V>

java.lang.Object
io.datarouter.aws.sqs.op.SqsOp<PK,​D,​F,​V>
All Implemented Interfaces:
Callable<V>
Direct Known Subclasses:
BaseSqsPeekMultiOp, SqsAckMultiOp, SqsAckOp, SqsGroupPutMultiOp, SqsPutMultiOp, SqsPutOp

public abstract class SqsOp<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>,​V>
extends Object
implements Callable<V>
  • Field Details

    • config

      protected final io.datarouter.storage.config.Config config
    • queueUrl

      protected final String queueUrl
    • databeanSupplier

      protected final Supplier<D extends io.datarouter.model.databean.Databean<PK,​D>> databeanSupplier
    • fielder

      protected final F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,​D> fielder
    • codec

      protected final io.datarouter.model.serialize.StringDatabeanCodec codec
    • fieldInfo

      protected final io.datarouter.storage.serialize.fieldcache.PhysicalDatabeanFieldInfo<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>> fieldInfo
  • Constructor Details

    • SqsOp

      public SqsOp​(io.datarouter.storage.config.Config config, BaseSqsNode<PK,​D,​F> sqsNode)
  • Method Details

    • call

      public V call()
      Specified by:
      call in interface Callable<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>>
    • run

      protected abstract V run()