getStatistics64

getStatistics64(committedTransactions:  Integer64 output;
                abortedTransactions:    Integer64 output;
                getObjects:             Integer64 output;
                queuedLocks:            Integer64 output;
                createObjects:          Integer64 output;
                deleteObjects:          Integer64 output;
                updateObjects:          Integer64 output;
                lockObjects:            Integer64 output;
                unlockObjects:          Integer64 output;
                beginNotifications:     Integer64 output;
                endNotifications:       Integer64 output;
                deliveredNotifications: Integer64 output;
                serverMethodExecutions: Integer64 output);

The getStatistics64 method of the System class loads the values of all the specified parameters with the corresponding system statistics.

The parameters for the getStatistics64 method are listed in the following table.

Parameter Obtains the number of…
committedTransactions Committed transactions
abortedTransactions Aborted transactions
getObjects getObject operations performed
queuedLocks queuedLock operations performed
createObjects createObject operations performed
deleteObjects deleteObject operations performed
updateObjects updateObject operations performed
lockObjects lockObject operations performed
unlockObjects unlockObject operations performed
beginNotifications beginNotification operations performed
endNotifications endNotification operations performed
deliveredNotifications Notifications that were sent
serverMethodExecutions Methods executed in the server node operations

The following example shows the use of the getStatistics method.

vars
    committedTransactions  : Integer64;
    abortedTransactions    : Integer64;
    getObjects             : Integer64;
    queuedLocks            : Integer64;
    createObjects          : Integer64;
    deleteObjects          : Integer64;
    updateObjects          : Integer64;
    lockObjects            : Integer64;
    unlockObjects          : Integer64;
    beginNotifications     : Integer64;
    endNotifications       : Integer64;
    deliveredNotifications : Integer64;
    serverMethodExecutions : Integer64;
begin
    system.getStatistics64(committedTransactions,
        abortedTransactions,
        getObjects,
        queuedLocks,
        createObjects,
        deleteObjects,
        updateObjects,
        lockObjects,
        unlockObjects,
        beginNotifications,
        endNotifications,
        deliveredNotifications,
        serverMethodExecutions);
end;