Product Information > JADE Object Manager Guide > Chapter 4 - JADE System Instrumentation and Diagnosis > SystemgetMostAccessedClasses Method

System::getMostAccessedClasses Method

getMostAccessedClasses(clsNumArray: IntegerArray input;
                       freqArray:   Integer64Array input;
                       maxWanted:   Integer);

The System class getMostAccessedClasses method returns access counts for the classes that have been most frequently accessed since the database server node was initialized.

The information is returned in a pair of arrays. The clsNumArray array contains a set of class numbers, and the freqArray array contains a matching set of access counts. Each entry in the freqArray array corresponds to the entry with the same index in the clsNumArray array. The entries in the array are sorted in descending order of access count; that is, the class with the highest access count is the first array member, the class with the second highest access count is second, and so on.

The maxWanted parameter specifies the maximum number of entries to be placed in the arrays.

The calling process is responsible for creating and deleting the clsNumArray array and the freqArray array.

When the getMostAccessedClasses method is called, the arrays passed as parameters are cleared of all entries.