net.liftweb.util

Schedule

sealed trait Schedule extends Loggable

The Schedule object schedules an actor to be ping-ed with a given message after a specified delay. If you need recurrent scheduled pings you will need to reschedule.

The schedule methods return a ScheduledFuture object which can be cancelled if necessary

Linear Supertypes
Loggable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Schedule
  2. Loggable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def apply(f: () ⇒ Unit, delay: Helpers.TimeSpan): ScheduledFuture[Unit]

    Schedules the application of a function

    Schedules the application of a function

    returns

    a ScheduledFuture which executes the function f after the delay

  5. def apply(f: () ⇒ Unit): ScheduledFuture[Unit]

    Schedules the application of a function

    Schedules the application of a function

    returns

    a ScheduledFuture which executes the function f immediately on a worker thread

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. var blockingQueueSize: Box[Int]

    If it's Full, then create a ArrayBlockingQueue otherwith create a LinkedBlockingQueue.

    If it's Full, then create a ArrayBlockingQueue otherwith create a LinkedBlockingQueue. Default to Full(200000)

  8. var buildExecutor: () ⇒ ThreadPoolExecutor

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. val logger: Logger

    Attributes
    protected
    Definition Classes
    Loggable
  17. var maxThreadPoolSize: Int

  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def perform(f: () ⇒ Unit, delay: Long): ScheduledFuture[Unit]

    Schedules the sending of a message to occur after the specified delay.

    Schedules the sending of a message to occur after the specified delay.

    returns

    a ScheduledFuture which applies the function f after delay

  22. def perform[T](to: SimpleActor[T], msg: T, delay: Long): ScheduledFuture[Unit]

    Schedules the sending of a message to occur after the specified delay.

    Schedules the sending of a message to occur after the specified delay.

    returns

    a ScheduledFuture which sends the msg to the to Actor after the specified TimeSpan delay.

  23. def restart: Unit

    Re-create the underlying SingleThreadScheduledExecutor

    Re-create the underlying SingleThreadScheduledExecutor

  24. def schedule(f: () ⇒ Unit, delay: Helpers.TimeSpan): ScheduledFuture[Unit]

    Schedules the application of a function

    Schedules the application of a function

    returns

    a ScheduledFuture which executes the function f after the delay

  25. def schedule[T](to: SimpleActor[T], msg: T, delay: Helpers.TimeSpan): ScheduledFuture[Unit]

    Schedules the sending of a message to occur after the specified delay.

    Schedules the sending of a message to occur after the specified delay.

    returns

    a ScheduledFuture which sends the msg to the to Actor after the specified TimeSpan delay.

  26. def shutdown(): Unit

    Shut down the underlying SingleThreadScheduledExecutor

    Shut down the underlying SingleThreadScheduledExecutor

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. var threadPoolSize: Int

    Set this variable to the number of threads to allocate in the thread pool

  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Loggable

Inherited from AnyRef

Inherited from Any

Ungrouped