Class CommitQueueResult
Maapi.applyTransParams(int, boolean, CommitParams) method.
The purpose of this class is to represent the result of a transaction where the configuration change for the participating devices has been placed in the commit queue.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the error reason for each failed device.longgetId()Return the commit queue id.Return the status of the commit queue item.Return the status as a string.
-
Constructor Details
-
CommitQueueResult
- Throws:
MaapiExceptionConfException
-
-
Method Details
-
getId
public long getId()Return the commit queue id. If the status isCommitQueueResult.Status.NONEthis method will return 0. -
getStatus
Return the status of the commit queue item.The status could be any of the following:
CommitQueueResult.Status.NONEmeans that no device was involved in the transaction.CommitQueueResult.Status.ASYNCmeans that the transaction has successfully placed the configuration change for the participating devices in the commit queue.CommitQueueResult.Status.COMPLETEDmeans that the queue item was successfully completed.CommitQueueResult.Status.TIMEOUTmeans that the timer expired before the queue item was completed.CommitQueueResult.Status.DELETEDmeans that queue item was deleted from the queue.CommitQueueResult.Status.FAILEDmeans that the queue item failed. ThegetFailedDevices()method will provide the error reason for each failed device. -
getStatusAsString
Return the status as a string. -
getFailedDevices
Return the error reason for each failed device.
-