Class/Object

fm.common

ScheduledTaskRunner

Related Docs: object ScheduledTaskRunner | package common

Permalink

final case class ScheduledTaskRunner(name: String, executor: ScheduledThreadPoolExecutor) extends TaskRunnerNonPriority with Product with Serializable

Annotations
@implicitNotFound( ... )
Linear Supertypes
Serializable, Serializable, Product, Equals, TaskRunnerNonPriority, TaskRunnerBase, Logging, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScheduledTaskRunner
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. TaskRunnerNonPriority
  7. TaskRunnerBase
  8. Logging
  9. Closeable
  10. AutoCloseable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScheduledTaskRunner(name: String, executor: ScheduledThreadPoolExecutor)

    Permalink

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

    Permalink

    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
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

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

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

    Permalink
    Definition Classes
    TaskRunnerNonPriority
  10. val executor: ScheduledThreadPoolExecutor

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

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  15. val name: String

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  19. def schedule[T](duration: FiniteDuration)(f: ⇒ T): ScheduledFuture[T]

    Permalink

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

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

    Permalink

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

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

    Permalink

    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.

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

    Permalink

    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.

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

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

    Permalink

    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
  25. lazy val shutdownWarning: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    TaskRunnerBase
  26. final def size: Int

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

    Permalink
    Definition Classes
    TaskRunnerNonPriority
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. final def tryExecute(f: ⇒ Unit): Boolean

    Permalink

    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
    TaskRunnerNonPriority
  30. final def trySubmit[T](f: ⇒ T): Option[Future[T]]

    Permalink

    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
    TaskRunnerNonPriority
  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( ... )
  33. final def wait(): Unit

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TaskRunnerNonPriority

Inherited from TaskRunnerBase

Inherited from Logging

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped