struct RequestDone : sc::event<RequestDone> {
};
- struct CancelBackfill : sc::event<CancelBackfill> {
+ struct SuspendBackfill : sc::event<SuspendBackfill> {
};
+ struct ThrottleAcquired : sc::event<ThrottleAcquired> {
+ };
private:
// internal events
struct RequestPrimaryScanning : sc::event<RequestPrimaryScanning> {
using reactions = boost::mpl::list<
sc::custom_reaction<ObjectPushed>,
sc::transition<RequestDone, Done>,
- sc::custom_reaction<CancelBackfill>,
+ sc::custom_reaction<SuspendBackfill>,
sc::custom_reaction<Triggered>,
+ sc::transition<ThrottleAcquired, Enqueuing>,
sc::transition<sc::event_base, Crashed>>;
explicit Waiting(my_context);
sc::result react(ObjectPushed);