Structs§
CommandContext
is used for generating barrier and doing post stuffs according to the givenCommand
.- Replacing an old job with a new one. All actors in the job will be rebuilt.
Reschedule
is for theCommand::RescheduleFragment
, which is used for rescheduling actors in some fragment, like scaling or migrating.
Enums§
Command
is the input ofcrate::barrier::worker::GlobalBarrierWorker
. For different commands, it will build different barriers to send, and may do different stuffs after the barrier is collected.