Class DistributionQueueItem

    • Constructor Detail

      • DistributionQueueItem

        public DistributionQueueItem​(@NotNull
                                     @NotNull String packageId,
                                     Map<String,​Object> base)
      • DistributionQueueItem

        public DistributionQueueItem​(String packageId,
                                     long size,
                                     Map<String,​Object> base)
    • Method Detail

      • getPackageId

        @NotNull
        public @NotNull String getPackageId()
      • getSize

        public long getSize()
        retrieve the size of the package referenced by this queue item.
        Returns:
        the size of the underlying package or -1 if not available.