Class DistributionQueueItem

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Field Summary

      • Fields inherited from interface org.apache.sling.api.resource.ValueMap

        EMPTY
    • Constructor Summary

      Constructors 
      Constructor Description
      DistributionQueueItem​(@NotNull java.lang.String packageId, java.util.Map<java.lang.String,​java.lang.Object> base)  
      DistributionQueueItem​(java.lang.String packageId, long size, java.util.Map<java.lang.String,​java.lang.Object> base)  
    • Constructor Detail

      • DistributionQueueItem

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

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

      • getPackageId

        @NotNull
        public @NotNull java.lang.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.