Class BatchContext

java.lang.Object
com.inductiveautomation.historian.gateway.api.storage.BatchContext

public final class BatchContext extends Object
Per-batch state carried through the definition-resolver call chain, tracking the staging-cache keys the batch has staged.

On commit, stagedKeys() is drained to publish the nodes and invalidate the staging entries; on rollback, to invalidate them without publishing, leaving the durable definition rows untouched.

Thread-safe: several validate workers may stage concurrently within one batch.

  • Constructor Details

    • BatchContext

      public BatchContext()
  • Method Details