com.r3corda.core.node.services / SchedulerService

SchedulerService

interface 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 wallet to schedule activities based on transactions as they are recorded.





Functions

scheduleStateActivity abstract fun scheduleStateActivity(action: ScheduledStateRef): Unit

Schedule a new activity for a TX output, probably because it was just produced.

unscheduleStateActivity abstract fun unscheduleStateActivity(ref: StateRef): Unit

Unschedule all activity for a TX output, probably because it was consumed.

Inheritors

NodeSchedulerService class NodeSchedulerService : SchedulerService, SingletonSerializeAsToken

A first pass of a simple SchedulerService that works with MutableClocks for testing, demonstrations and simulations that also encompasses the Wallet observer for processing transactions.