Node::getRequestStats Method
getRequestStats(jdo: JadeDynamicObject input);

The Node class getRequestStats method returns node statistics relating to persistent database requests from the receiving node that is the method receiver. The values are returned as Integer64 properties in the dynamic object specified by the jdo parameter. The properties returned in the dynamic object are listed in the following table.

Property Description
committedTransactions Total number of transactions committed
abortedTransactions Total number of transactions aborted
getObjects Total number of requests to retrieve an object from the database
createObjects Total number of created objects
deleteObjects Total number of deleted objects
updateObjects Total number of object updates
lockObjects Total number of lock requests
unlockObjects Total number of unlock requests
beginNotifications Total number of beginNotification instructions
endNotifications Total number of endNotification instructions
serverMethodExecutions Total number of serverExecution methods executed
causeEvents Total number of causeEvent instructions

Properties are added to the object when the method is first called. The object can then be used in subsequent calls. If the dynamic object passed to the method already contains properties that do not match the properties to be returned, the existing dynamic object properties are removed and replaced with the appropriate properties. The method is most efficient when the properties match those to be returned.

For examples of the use of and output from this method, see the Node class getRequestStats method in Volume 2 of the JADE Encyclopaedia of Classes.