@NoImplement public interface SchedulerMessageSource extends Stoppable, Startable
A scheduler source can be stopped or started at any time. Calling stop while the scheduler is stopped or calling start while
the scheduler is started won't have any effect. Method isStarted
can be used to know if the scheduler message source is
running or not.
A scheduler can be manually triggered using the trigger
method. Clients of this interface that want to redefine the
scheduling of the flow execution can stop the scheduler message source and call the trigger
method whenever the want.
Calling stop
method over a source will not affect any ongoing transaction.
Modifier and Type | Field and Description |
---|---|
static ComponentIdentifier |
SCHEDULER_MESSAGE_SOURCE_IDENTIFIER
ComponentIdentifier of an scheduler message source. |
PHASE_NAME
PHASE_NAME
Modifier and Type | Method and Description |
---|---|
SchedulerConfiguration |
getConfiguration() |
boolean |
isStarted() |
void |
trigger()
Triggers the execution of the flow where the scheduler message source is located.
|
static final ComponentIdentifier SCHEDULER_MESSAGE_SOURCE_IDENTIFIER
ComponentIdentifier
of an scheduler message source.void trigger()
boolean isStarted()
SchedulerConfiguration getConfiguration()
Copyright © 2018. All rights reserved.