2.2.2.3 CommitMode
The CommitMode enumeration defines the type of actions to be performed when the changes are committed to the data collector set. Any combination of bits MUST be allowed.
-
typedef enum { plaCreateNew = 0x0001, plaModify = 0x0002, plaCreateOrModify = 0x0003, plaUpdateRunningInstance = 0x0010, plaFlushTrace = 0x0020, plaValidateOnly = 0x1000 } CommitMode;
plaCreateNew: For a persistent data collector set, save it to storage. The set MUST not have existed previously on storage.
plaModify: Update a previously committed data collector set.
plaCreateOrModify: For a persistent data collector set, save it to storage. If the set already exists, the PLA Protocol will update it.
plaUpdateRunningInstance: If the data collector set is running, apply the updated property values to it.
plaFlushTrace: If multiple data collector sets are running, flush the event trace data collectors memory buffers to storage or real-time consumers.
plaValidateOnly: Perform validation only on the data collector set.