Class ImmediateSchedulingEnqueueEvent
java.lang.Object
overit.geocall.bl.GenericEvent<Long>
overit.geocall.bl.BusinessEvent<Long>
overit.geocall.bl.SimpleBusinessEvent<ImmediateSchedulingEnqueueInput,Long>
overit.geocallapp.wfm.scheduling.bl.immediatescheduling.processing.event.ImmediateSchedulingEnqueueEvent
public class ImmediateSchedulingEnqueueEvent
extends SimpleBusinessEvent<ImmediateSchedulingEnqueueInput,Long>
Event to enqueue a new immediate scheduling processing.
The launcher must provide a valid ImmediateSchedulingEnqueueInput in order to successfully call this event.
The listener will:
- Search for an existing last processing record for the given operation center and scheduling model
- If found, update it with the new processing parameters and set state to TO_BE_PROCESSED
- If not found, create a new last processing record with state TO_BE_PROCESSED
- Create a corresponding history record
- Launch the
ImmediateSchedulingProcessEventasynchronously to process the enqueued request
This event is used both by:
- The scheduled task
BTImmediateSchedulingLaunchto automatically enqueue processing based on calendar configuration - The UI when the user manually triggers an immediate scheduling process
- Since:
- 22.0
- GCApi:
- event
- Reactors:
- No Spouts
BTImmediateSchedulingEnqueue(0)-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.bl.GenericEvent
GenericEvent.Step<O> -
Field Summary
Fields inherited from class overit.geocall.bl.SimpleBusinessEvent
inputFields inherited from class overit.geocall.bl.GenericEvent
executorService, journal, streamJournal -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new immediate scheduling enqueue event. -
Method Summary
Methods inherited from class overit.geocall.bl.SimpleBusinessEvent
getInputMethods inherited from class overit.geocall.bl.BusinessEvent
doLaunchMethods inherited from class overit.geocall.bl.GenericEvent
clearEvents, defineInterruptor, defineResult, getJournal, getResult, getSpouts, getStreamJournal, isInternal, launch, launch, launchAsync, launchAsync, register, registerSpouts
-
Constructor Details
-
ImmediateSchedulingEnqueueEvent
Instantiates a new immediate scheduling enqueue event.- Parameters:
input- theImmediateSchedulingEnqueueInputcontaining the processing parameters
-