Interface BatchOperation

  • All Known Implementing Classes:
    AbstractBatchOperation, HistoryActorFactory.TagRetirementBatchOperation

    public interface BatchOperation
    A BatchOperation collects together a set of operations that should be executed together as a batch. The implementation of this class should carefully track changes, and take care to not allow mutations during execution. However, it's usually smart to not lock during the entire execution, so one common pattern is to clone the data at the start of exec in a lock, and then operate on that, allowing new data to be accumulated along the way. This batch operation will be reused, so the implementation should carefully manage internal data.
    Since:
    8.0