Interface DataTree

All Superinterfaces:
DataTreeTip, ReadOnlyDataTree
All Known Implementing Classes:
InMemoryDataTree

public interface DataTree extends DataTreeTip, ReadOnlyDataTree
Interface representing a data tree which can be modified in an MVCC fashion.
  • Method Details

    • setEffectiveModelContext

      void setEffectiveModelContext(EffectiveModelContext newModelContext)
      Make the data tree use a new schema context. The context will be used only by subsequent operations.
      Parameters:
      newModelContext - new EffectiveModelContext
      Throws:
      IllegalArgumentException - if the new context is incompatible
      NullPointerException - if newModelContext is null
    • commit

      void commit(DataTreeCandidate candidate)
      Commit a data tree candidate.
      Parameters:
      candidate - data tree candidate