case class SkinnyWorkerService(name: String = "skinny-framework-worker-service", threadPoolSize: Int = 10) extends Logging with Product with Serializable
Service which manages workers.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SkinnyWorkerService
- Serializable
- Serializable
- Product
- Equals
- Logging
- LoggingDsl
- LoggerProvider
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SkinnyWorkerService(name: String = "skinny-framework-worker-service", threadPoolSize: Int = 10)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
daily(worker: SkinnyWorker, fixedHour: Int = 9, fixedMinute: Int = 0): Unit
Schedules this worker daily.
-
def
debug(msg: ⇒ Any, t: ⇒ Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingDsl
-
def
debug(msg: ⇒ Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingDsl
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
error(msg: ⇒ Any, t: ⇒ Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingDsl
-
def
error(msg: ⇒ Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingDsl
-
def
everyFixedMilliseconds(worker: SkinnyWorker, interval: Int): Unit
Schedules this worker every fixed milliseconds.
-
def
everyFixedMinutes(worker: SkinnyWorker, interval: Int): Unit
Schedules this worker every fixed seconds.
-
def
everyFixedSeconds(worker: SkinnyWorker, interval: Int): Unit
Schedules this worker every fixed seconds.
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hourly(worker: SkinnyWorker, fixedMinute: Int = 0): Unit
Schedules this worker hourly.
-
def
info(msg: ⇒ Any, t: ⇒ Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingDsl
-
def
info(msg: ⇒ Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingDsl
-
def
isDebugEnabled: Boolean
- Attributes
- protected
- Definition Classes
- LoggingDsl
-
def
isErrorEnabled: Boolean
- Attributes
- protected
- Definition Classes
- LoggingDsl
-
def
isInfoEnabled: Boolean
- Attributes
- protected
- Definition Classes
- LoggingDsl
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled: Boolean
- Attributes
- protected
- Definition Classes
- LoggingDsl
-
def
isWarnEnabled: Boolean
- Attributes
- protected
- Definition Classes
- LoggingDsl
-
def
logger: Logger
- Attributes
- protected
- Definition Classes
- LoggerProvider
-
def
loggerName: String
- Attributes
- protected
- Definition Classes
- LoggerProvider
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
registerSkinnyWorker(worker: SkinnyWorker, initial: Int, interval: Int, timeUnit: TimeUnit = TimeUnit.SECONDS): Unit
Registers new worker to this service.
-
def
shutdownNow(awaitSeconds: Int = 10): Unit
Shutdown this worker service safely.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val threadPoolSize: Int
-
def
trace(msg: ⇒ Any, t: ⇒ Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingDsl
-
def
trace(msg: ⇒ Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingDsl
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
warn(msg: ⇒ Any, t: ⇒ Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingDsl
-
def
warn(msg: ⇒ Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingDsl