Class AsyncReloadingClassificationEngine

  • All Implemented Interfaces:
    ClassificationEngine

    public class AsyncReloadingClassificationEngine
    extends Object
    implements ClassificationEngine
    A classification engine that does reloads asynchronously.

    Reloads are triggered oftentimes while editing classification rules. In addition, reloads may take a couple of seconds depending on the enabled rules. In order to keep the front-end responsive, reloads are done asynchronously. Usages of the classification engine are blocked until ongoing reloads did finish. If a reload fails then future usages of this classification engine also fail until a following reload succeeds.