class Executor[S <: Scheduling] extends MetricProvider
An Executor is responsible to actually execute the SideEffect functions for the given Executions.
- Alphabetic
- By Inheritance
- Executor
- MetricProvider
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getMetrics(jobs: Set[String]): Seq[Metric]
- Definition Classes
- Executor → MetricProvider
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val platforms: Seq[ExecutionPlatform]
-
def
run(job: Job[S], context: S.Context): (Execution[S], Future[Completed])
Run the SideEffect function of the provided Job for the given SchedulingContext.
Run the SideEffect function of the provided Job for the given SchedulingContext.
- job
The Job to run (actually its SideEffect function)
- context
The SchedulingContext (input of the SideEffect function)
- returns
The created Execution along with the
Future
tracking the execution status.
-
def
runAll(all: Seq[(Job[S], S.Context)]): Seq[(Execution[S], Future[Completed])]
Run the SideEffect function of the provided (Jobs, SchedulingContexts).
Run the SideEffect function of the provided (Jobs, SchedulingContexts).
- all
The Jobs and SchedulingContexts to run.
- returns
The created Executions along with their
Future
tracking the execution status.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @throws( ... )