Class LoadQueueProgressData

java.lang.Object
pamViewFX.pamTask.PamTaskUpdate
pamScrollSystem.LoadQueueProgressData

public class LoadQueueProgressData extends PamTaskUpdate
  • Field Details Link icon

  • Constructor Details Link icon

    • LoadQueueProgressData Link icon

      public LoadQueueProgressData(String storeType, String streamName, int totalStreams, int stream, int state, long loadStart, long loadEnd, long loadCurrent, int nLoaded)
    • LoadQueueProgressData Link icon

      public LoadQueueProgressData(int status)
  • Method Details Link icon

    • getTotalStreams Link icon

      public int getTotalStreams()
      Returns:
      the totalStreams
    • getIStream Link icon

      public int getIStream()
      Returns:
      the iStream
    • getStoreType Link icon

      public String getStoreType()
      Returns:
      the storeType
    • getStreamName Link icon

      public String getStreamName()
      Returns:
      the streamName
    • getiStream Link icon

      public int getiStream()
      Returns:
      the iStream
    • getLoadStart Link icon

      public long getLoadStart()
      Returns:
      the loadStart
    • getLoadEnd Link icon

      public long getLoadEnd()
      Returns:
      the loadEnd
    • getLoadCurrent Link icon

      public long getLoadCurrent()
      Returns:
      the loadCurrent
    • getnLoaded Link icon

      public int getnLoaded()
      Returns:
      the nLoaded
    • getState Link icon

      public int getState()
      Returns:
      the state
    • getName Link icon

      public String getName()
      Description copied from class: PamTaskUpdate
      Get the name of the load thread. Note the name is also the unique identifier for the running thread so cannot be the same between two different threads.
      Specified by:
      getName in class PamTaskUpdate
      Returns:
      the name of the thread.
    • getProgress Link icon

      public double getProgress()
      Description copied from class: PamTaskUpdate
      Get the progress of the load thread. This is a value between 0 and 1 were 1 is equivalent to 100% or the thread having finished.

      Note that ProgressIndicator.INTERMEDIATE can be used as an update value to set progress to intermediate.

      Specified by:
      getProgress in class PamTaskUpdate
      Returns:
      the progress of the thread, between 0 and 1.
    • getProgressString Link icon

      public String getProgressString()
      Description copied from class: PamTaskUpdate
      Returns a message indicating progress. Can be overriden to supply other messages.
      Overrides:
      getProgressString in class PamTaskUpdate
      Returns:
    • getProgress2 Link icon

      public double getProgress2()
      Description copied from class: PamTaskUpdate
      There may be a need for two progress bars for long task- one showing overall progress and the other showing more fine scale loading tasks. If this is the case then

      Note that ProgressIndicator.INTERMEDIATE can be used as an update value to set progress to intermediate.

      Overrides:
      getProgress2 in class PamTaskUpdate
      Returns:
      the progress of the thread, between 0 and 1.
    • getProgressString2 Link icon

      public String getProgressString2()
      If two updates are available then this is used to return the fine progress update message.
      Overrides:
      getProgressString2 in class PamTaskUpdate
      Returns: