fm.common

ScheduledTaskRunner

final case class ScheduledTaskRunner(name: String, threads: Int = ...) extends TaskRunnerBase with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, TaskRunnerBase, Logging, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScheduledTaskRunner
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. TaskRunnerBase
  7. Logging
  8. Closeable
  9. AutoCloseable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScheduledTaskRunner(name: String, threads: Int = ...)

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. final def abort(maxWaitSeconds: Int = 5): Unit

    Perform an unclean shutdown of the executor only waiting up to maxWaitSeconds

    Perform an unclean shutdown of the executor only waiting up to maxWaitSeconds

    Definition Classes
    TaskRunnerBase
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def close(): Unit

    Definition Classes
    TaskRunnerBase → Closeable → AutoCloseable
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. final def execute(f: ⇒ Unit): Unit

    Definition Classes
    TaskRunnerBase
  12. val executor: ScheduledThreadPoolExecutor

    Attributes
    protected
    Definition Classes
    ScheduledTaskRunnerTaskRunnerBase
  13. def finalize(): Unit

    Definition Classes
    TaskRunnerBase → AnyRef
  14. final def getClass(): Class[_]

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

    Definition Classes
    Any
  16. lazy val logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  17. val name: String

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

    Definition Classes
    AnyRef
  19. def newTaskRunnerThreadFactory(): TaskRunnerThreadFactory

    Attributes
    protected
    Definition Classes
    TaskRunnerBase
  20. final def notify(): Unit

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

    Definition Classes
    AnyRef
  22. def schedule[T](duration: FiniteDuration)(f: ⇒ T): ScheduledFuture[T]

    Creates and executes a one-shot action that becomes enabled after the given delay.

  23. def schedule(runnable: Runnable, duration: FiniteDuration): ScheduledTask

    Creates and executes a one-shot action that becomes enabled after the given delay.

  24. def scheduleAtFixedRate[U](initialDelay: FiniteDuration, delay: FiniteDuration)(f: ⇒ U): ScheduledTask

    Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period; that is executions will commence after initialDelay then initialDelay+period, then initialDelay + 2 * period, and so on.

  25. def scheduleWithFixedDelay[U](initialDelay: FiniteDuration, delay: FiniteDuration)(f: ⇒ U): ScheduledTask

    Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given delay between the termination of one execution and the commencement of the next.

  26. final def scoped(f: (ScheduledTaskRunner.this.type) ⇒ Unit): Unit

    Definition Classes
    TaskRunnerBase
  27. final def shutdown(silent: Boolean = false, warnIntervalSeconds: Int = 30): Unit

    Perform a "clean" shutdown of the executor by waiting for all tasks to finish

    Perform a "clean" shutdown of the executor by waiting for all tasks to finish

    Definition Classes
    TaskRunnerBase
  28. lazy val shutdownWarning: Boolean

    Attributes
    protected
    Definition Classes
    TaskRunnerBase
  29. final def size: Int

    Definition Classes
    TaskRunnerBase
  30. final def submit[T](f: ⇒ T): Future[T]

    Definition Classes
    TaskRunnerBase
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. val threads: Int

  33. final def tryExecute(f: ⇒ Unit): Boolean

    Attempt to submit this job to the queue.

    Attempt to submit this job to the queue. Returns true if successful or false if the queue is full

    Definition Classes
    TaskRunnerBase
  34. final def trySubmit[T](f: ⇒ T): Option[Future[T]]

    Attempt to submit this job to the queue.

    Attempt to submit this job to the queue. Returns Some(...) if successful or None if the queue is full

    Definition Classes
    TaskRunnerBase
  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TaskRunnerBase

Inherited from Logging

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped