Class

skinny.worker

SkinnyWorkerService

Related Doc: package worker

Permalink

case class SkinnyWorkerService(name: String = "skinny-framework-worker-service", threadPoolSize: Int = 10) extends Logging with Product with Serializable

Service which manages workers.

Linear Supertypes
Serializable, Serializable, Product, Equals, Logging, LoggingDsl, LoggerProvider, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SkinnyWorkerService
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Logging
  7. LoggingDsl
  8. LoggerProvider
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SkinnyWorkerService(name: String = "skinny-framework-worker-service", threadPoolSize: Int = 10)

    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 asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def daily(worker: SkinnyWorker, fixedHour: Int = 9, fixedMinute: Int = 0): Unit

    Permalink

    Schedules this worker daily.

  7. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingDsl
  8. def debug(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingDsl
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def error(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingDsl
  11. def error(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingDsl
  12. def everyFixedMilliseconds(worker: SkinnyWorker, interval: Int): Unit

    Permalink

    Schedules this worker every fixed milliseconds.

  13. def everyFixedMinutes(worker: SkinnyWorker, interval: Int): Unit

    Permalink

    Schedules this worker every fixed seconds.

  14. def everyFixedSeconds(worker: SkinnyWorker, interval: Int): Unit

    Permalink

    Schedules this worker every fixed seconds.

  15. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hourly(worker: SkinnyWorker, fixedMinute: Int = 0): Unit

    Permalink

    Schedules this worker hourly.

  18. def info(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingDsl
  19. def info(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingDsl
  20. def isDebugEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingDsl
  21. def isErrorEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingDsl
  22. def isInfoEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingDsl
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def isTraceEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingDsl
  25. def isWarnEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingDsl
  26. def logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LoggerProvider
  27. def loggerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    LoggerProvider
  28. val name: String

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

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

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

    Permalink
    Definition Classes
    AnyRef
  32. def registerSkinnyWorker(worker: SkinnyWorker, initial: Int, interval: Int, timeUnit: TimeUnit = TimeUnit.SECONDS): Unit

    Permalink

    Registers new worker to this service.

  33. def shutdownNow(awaitSeconds: Int = 10): Unit

    Permalink

    Shutdown this worker service safely.

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

    Permalink
    Definition Classes
    AnyRef
  35. val threadPoolSize: Int

    Permalink
  36. def trace(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingDsl
  37. def trace(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingDsl
  38. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingDsl
  42. def warn(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingDsl

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Logging

Inherited from LoggingDsl

Inherited from LoggerProvider

Inherited from AnyRef

Inherited from Any

Ungrouped