Package ai.attackframework.tools.burp.utils.concurrent


package ai.attackframework.tools.burp.utils.concurrent
Concurrency helpers shared by sinks, UI, and retry paths.

Contains small utilities that every extension-owned background worker uses so lifecycle semantics stay consistent across UI stop and extension unload:

  • Workers centralizes the "shutdownNow + awaitTermination" and "interrupt + join" patterns for ExecutorService and raw Thread owners.
  • LazyScheduler owns the "volatile field + synchronized ensure-started + Workers shutdown" pattern used by every reporter and by the orphan-flush path so lazy start and deterministic teardown are implemented in one place.