public SchedulerService
Provides access to schedule activity at some point in time. This interface might well be expanded to increase the feature set in the future.
If the point in time is in the past, the expectation is that the activity will happen shortly after it is scheduled.
The main consumer initially is an observer of the vault to schedule activities based on transactions as they are recorded.
Modifier and Type | Method and Description |
---|---|
void |
scheduleStateActivity(ScheduledStateRef action)
Schedule a new activity for a TX output, probably because it was just produced.
|
void |
unscheduleStateActivity(StateRef ref)
Unschedule all activity for a TX output, probably because it was consumed.
|
void scheduleStateActivity(ScheduledStateRef action)
Schedule a new activity for a TX output, probably because it was just produced.
Only one activity can be scheduled for a particular class StateRef
at any one time. Scheduling a class ScheduledStateRef
replaces any previously scheduled class ScheduledStateRef
for any one class StateRef
.
void unscheduleStateActivity(StateRef ref)
Unschedule all activity for a TX output, probably because it was consumed.