Class QueueNodeFactory

java.lang.Object
io.datarouter.storage.node.factory.BaseNodeFactory
io.datarouter.storage.node.factory.QueueNodeFactory

@Singleton public class QueueNodeFactory extends BaseNodeFactory
  • Constructor Details

    • QueueNodeFactory

      public QueueNodeFactory()
  • Method Details

    • createSingleQueue

      public <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>> QueueNodeBuilder<PK,D,F> createSingleQueue(ClientId clientId, Supplier<D> databeanSupplier, Supplier<F> fielderSupplier)
    • createGroupQueue

      public <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>> QueueNodeBuilder<PK,D,F> createGroupQueue(ClientId clientId, Supplier<D> databeanSupplier, Supplier<F> fielderSupplier)
    • createBlobQueue

      public <T> BlobQueueNodeBuilder<T> createBlobQueue(ClientId clientId, String queueName, io.datarouter.bytes.Codec<T,byte[]> codec)
    • createSingleQueueNode

      public <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>, N extends Node<PK, D, F>> N createSingleQueueNode(ClientId clientId, Supplier<D> databeanSupplier, String queueName, Supplier<F> fielderSupplier, String namespace, String queueUrl, Tag tag, boolean enableAgeMonitoring)
    • createGroupQueueNode

      public <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>, N extends Node<PK, D, F>> N createGroupQueueNode(ClientId clientId, Supplier<D> databeanSupplier, String queueName, Supplier<F> fielderSupplier, String namespace, String queueUrl, Tag tag, boolean enableAgeMonitoring)
    • createBlobQueueNode

      public <T> BlobQueueStorage.BlobQueueStorageNode<T> createBlobQueueNode(ClientId clientId, String queueName, io.datarouter.bytes.Codec<T,byte[]> codec, String namespace, String queueUrl, Tag tag, boolean enableAgeMonitoring)