Class PublishItem<T extends Item>

    • Field Detail

      • items

        protected java.util.Collection<T extends Item> items
    • Constructor Detail

      • PublishItem

        public PublishItem​(java.lang.String nodeId,
                           T toPublish)
        Construct a request to publish an item to a node.
        Parameters:
        nodeId - The node to publish to
        toPublish - The Item to publish
      • PublishItem

        public PublishItem​(java.lang.String nodeId,
                           java.util.Collection<T> toPublish)
        Construct a request to publish multiple items to a node.
        Parameters:
        nodeId - The node to publish to
        toPublish - The list of Item to publish