Class ProgressEvent

  • All Implemented Interfaces:
    JibEvent

    public class ProgressEvent
    extends java.lang.Object
    implements JibEvent
    Event representing progress. The progress accounts for allocation units in an Allocation, which makes up a Decentralized Allocation Tree.
    See Also:
    Allocation
    • Constructor Summary

      Constructors 
      Constructor Description
      ProgressEvent​(Allocation allocation, long progressUnits)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Allocation getAllocation()
      Gets the Allocation this progress event accounts for.
      long getUnits()
      Gets the units of progress this progress event accounts for in the associated Allocation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProgressEvent

        public ProgressEvent​(Allocation allocation,
                             long progressUnits)
    • Method Detail

      • getUnits

        public long getUnits()
        Gets the units of progress this progress event accounts for in the associated Allocation.
        Returns:
        units of allocation