| Modifier and Type | Method and Description |
|---|---|
| public void | commit()
Commits a series of DMT operations issued in the current atomic session since the last transaction boundary. |
| public void | rollback()
Rolls back a series of DMT operations issued in the current atomic session since the last transaction boundary. |
| commit | back to summary |
|---|---|
| public void commit() throws DmtException Commits a series of DMT operations issued in the current atomic session
since the last transaction boundary. Transaction boundaries are the
creation of this object that starts the session, and all subsequent
This method can fail even if all operations were successful. This can
happen due to some multi-node semantic constraints defined by a specific
implementation. For example, node A can be required to always have
children A/B, A/C and A/D. If this condition is broken when
In many cases the tree is not the only way to manage a given part of the
system. It may happen that while modifying some nodes in an atomic
session, the underlying settings are modified in parallel outside the
scope of the DMT. If this is detected during commit, an exception with
the code
| |
| rollback | back to summary |
|---|---|
| public void rollback() throws DmtException Rolls back a series of DMT operations issued in the current atomic
session since the last transaction boundary. Transaction boundaries are
the creation of this object that starts the session, and all subsequent
| |