HawkListener:getCMLedgerInfo
Method
Purpose
This method (on all platforms) gets statistics on RV CM ledgers on this server.
Remarks
The transport and subjPattern arguments are a pattern match using regular expressions. Test any regular expressions you plan to use in rulebases by first using them interactively to ensure they return the desired results.
Type
Synchronous, IMPACT_INFO
Arguments
Name |
Type |
Description |
transport |
String |
Transport Name. It should be a valid transport name i.e. the name of the transport whose ledger file is to be summarized. It cannot be an empty string. |
subjPattern |
String |
Subject Pattern Name. Empty argument string provides information on all topics. |
Returns
Name |
Type |
Description |
subject |
String |
Subject that this row summarizes |
lastSent |
Long |
The value indicating the sequence number of the most recent message sent on this subject |
totalMsgs |
Integer |
Total number of messages stored on this subject |
totalSize |
Integer |
Total storage size in bytes for this subject |