Interface SimulationTransaction

All Known Implementing Classes:
SimulationTransactionImpl

public interface SimulationTransaction
Live representation of a simulation transaction. Thread safety: Instances are to be used in multiple threads (worker tasks), so they must be thread-safe.
  • Method Details

    • writeSimulationData

      void writeSimulationData(@NotNull @NotNull SimulationData data, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result)
      Adds a chunk of data to this transaction. We intentionally do not define what that "chunk" is, because we don't have appropriate vocabulary here - to talk about LensContext and so on.
    • getSimulationResult

      @NotNull @NotNull SimulationResult getSimulationResult()
    • getResultOid

      @NotNull default @NotNull String getResultOid()
    • getTransactionId

      @NotNull @NotNull String getTransactionId()
    • open

      void open(OperationResult result)
      TODO
    • commit

      void commit(OperationResult result)
      TODO