class PeriodicProcessService extends LazyLogging
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PeriodicProcessService
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PeriodicProcessService(delegateDeploymentManager: DeploymentManager, jarManager: JarManager, scheduledProcessesRepository: PeriodicProcessesRepository, periodicProcessListener: PeriodicProcessListener, additionalDeploymentDataProvider: AdditionalDeploymentDataProvider, deploymentRetryConfig: DeploymentRetryConfig, executionConfig: PeriodicExecutionConfig, processConfigEnricher: ProcessConfigEnricher, clock: Clock)(implicit ec: ExecutionContext)
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def deactivate(processName: ProcessName): Future[Unit]
- def deploy(deployment: PeriodicProcessDeployment): Future[Unit]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def findToBeDeployed: Future[Seq[PeriodicProcessDeployment]]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getLatestDeployment(processName: ProcessName): Future[Option[PeriodicProcessDeployment]]
Returns latest deployment.
Returns latest deployment. It can be in any status (consult PeriodicProcessDeploymentStatus). For multiple schedules only single schedule is returned in the following order:
- If there are any deployed scenarios, then the first one is returned. Please be aware that deployment of previous schedule could fail.
- If there are any failed scenarios, then the last one is returned. We want to inform user, that some deployments failed and the scenario should be rescheduled/retried manually.
- If there are any scheduled scenarios, then the first one to be run is returned.
- If there are any finished scenarios, then the last one is returned. It should not happen because the scenario should be deactivated earlier.
- def handleFinished: Future[Unit]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def prepareInitialScheduleDates(schedule: ScheduleProperty): Either[PeriodicProcessException, List[(Option[String], Option[LocalDateTime])]]
- def schedule(schedule: ScheduleProperty, processVersion: ProcessVersion, canonicalProcess: CanonicalProcess, beforeSchedule: ⇒ Future[Unit] = Future.unit): Future[Unit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.