Class FixedRateTimer

java.lang.Object
com.nt.udc.util.FixedRateTimer

public class FixedRateTimer extends Object
Title: FixedRateTimer Description: Sleeps until the beginning of a new time interval defined by its sleepTime setting Copyright: Copyright (c) 2001 Company: Nortel Networks
  • Field Details

    • m_fixedRate

      protected long m_fixedRate
  • Constructor Details

    • FixedRateTimer

      public FixedRateTimer()
    • FixedRateTimer

      public FixedRateTimer(long rate)
  • Method Details

    • getFixedRate

      public long getFixedRate()
    • setFixedRate

      public void setFixedRate(long rate)
    • sleepUntilNextInterval

      public void sleepUntilNextInterval()
      Determines the current thread to sleep until the beginning of a new time interval defined by the fixed rate.