Get statistics on open transactions.


Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)

Syntax

Visual Basic (Declaration)
Public Function listTransactions( _ 
   ByVal idle_cutoff As Integer _ 
) As NetricsTranStats()
C#
public NetricsTranStats[] listTransactions(
   int idle_cutoff
)
C++
public:
 array<NetricsTranStats>^ listTransactions(
   int idle_cutoff
) sealed 
J#
public NetricsTranStats[] listTransactions(
   int idle_cutoff
)
JScript
public  function listTransactions(
   idle_cutoff : int
) : NetricsTranStats[]

Parameters

idle_cutoff
The idle cutoff value in seconds. Only transactions that have been idle for this number of seconds or greater are returned. A value less than 0 will return all open transactions.

Exceptions

Exception TypeCondition
NetricsExceptionIf the server indicates that an error has occured.

Remarks

This method returns an array of NetricsTranStats objects, one object for each open transaction with an idle time greater than idle_cutoff. If idle_cutoff is less than 0 all open transactions are returned.

Idle time is measured from the completion of the last command associated with the transaction.

See Also