net.liftweb.util

Schedule

object Schedule extends Schedule

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
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Schedule
  2. Schedule
  3. Loggable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. 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

    Definition Classes
    Schedule
  7. 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

    Definition Classes
    Schedule
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. 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)

    Definition Classes
    Schedule
  10. var buildExecutor: () ⇒ ThreadPoolExecutor

    Definition Classes
    Schedule
  11. def clone(): AnyRef

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

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

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

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

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

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

    Definition Classes
    Any
  18. val logger: Logger

    Attributes
    protected
    Definition Classes
    Loggable
  19. var maxThreadPoolSize: Int

    Definition Classes
    Schedule
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  23. 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

    Definition Classes
    Schedule
  24. 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.

    Definition Classes
    Schedule
  25. def restart: Unit

    Re-create the underlying SingleThreadScheduledExecutor

    Re-create the underlying SingleThreadScheduledExecutor

    Definition Classes
    Schedule
  26. 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

    Definition Classes
    Schedule
  27. 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.

    Definition Classes
    Schedule
  28. def shutdown(): Unit

    Shut down the underlying SingleThreadScheduledExecutor

    Shut down the underlying SingleThreadScheduledExecutor

    Definition Classes
    Schedule
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. var threadPoolSize: Int

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

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

    Definition Classes
    Schedule
  31. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Schedule

Inherited from Loggable

Inherited from AnyRef

Inherited from Any

Ungrouped