Trait/Object

net.liftweb.util

Schedule

Related Docs: object Schedule | package util

Permalink

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
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Schedule
  2. Loggable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

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

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

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

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

    Permalink

    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]

    Permalink

    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

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

    Permalink

    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

    Permalink
  9. def clone(): AnyRef

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  16. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Loggable
  17. var maxThreadPoolSize: Int

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

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

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

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

    Permalink

    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]

    Permalink

    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

    Permalink

    Re-create the underlying SingleThreadScheduledExecutor

    Re-create the underlying SingleThreadScheduledExecutor

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

    Permalink

    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]

    Permalink

    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

    Permalink

    Shut down the underlying SingleThreadScheduledExecutor

    Shut down the underlying SingleThreadScheduledExecutor

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

    Permalink
    Definition Classes
    AnyRef
  28. var threadPoolSize: Int

    Permalink

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

  29. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Loggable

Inherited from AnyRef

Inherited from Any

Ungrouped