Class State<T>

java.lang.Object
org.duracloud.mill.ltp.State<T>

public class State<T> extends Object
Represents the persistent state of the LoopingTaskProducer.
Author:
Daniel Bernstein Date: Nov 6, 2013
  • Constructor Details

    • State

      public State()
  • Method Details

    • getMorsels

      public LinkedHashSet<T> getMorsels()
      Returns:
      the morsels
    • setMorsels

      public void setMorsels(LinkedHashSet<T> morsels)
      Parameters:
      morsels - the morsels to set
    • getCurrentRunStartDate

      public Date getCurrentRunStartDate()
      Returns:
    • setCurrentRunStartDate

      public void setCurrentRunStartDate(Date time)
      Parameters:
      time -
    • getNextRunStartDate

      public Date getNextRunStartDate()
      Returns:
    • setNextRunStartDate

      public void setNextRunStartDate(Date time)
      Parameters:
      time -
    • toString

      public String toString()
      Overrides:
      toString in class Object