JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
io.netty.util

Interface Timer

  • All Known Implementing Classes:
    HashedWheelTimer


    public interface Timer
    Schedules TimerTasks for one-time future execution in a background thread.
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      Timeout newTimeout (TimerTask task, long delay, TimeUnit unit)
      Schedules the specified TimerTask for one-time execution after the specified delay.
      Set<Timeout> stop ()
      Releases all resources acquired by this Timer and cancels all tasks which were scheduled but not executed yet.
    • Method Detail

      • stop

        Set<Timeout> stop()
        Releases all resources acquired by this Timer and cancels all tasks which were scheduled but not executed yet.
        Returns:
        the handles associated with the tasks which were canceled by this method
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 2008–2025 The Netty Project. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /