Class ProgressService

  • All Implemented Interfaces:
    IProgressService

    public class ProgressService
    extends java.lang.Object
    implements IProgressService
    Progress service implementation.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected CalculateAgent agent
      The agent.
    • Constructor Summary

      Constructors 
      Constructor Description
      ProgressService()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IFuture getProgress​(java.lang.Object taskid)
      Get the progress (percentage as integer) of a given task.
      • Methods inherited from class java.lang.Object

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

      • ProgressService

        public ProgressService()
    • Method Detail

      • getProgress

        public IFuture getProgress​(java.lang.Object taskid)
        Get the progress (percentage as integer) of a given task.
        Specified by:
        getProgress in interface IProgressService
        Parameters:
        taskid - The id of the task.
        Returns:
        A future object holding the progress as a percentage integer value.