Gets the total number of collections that have occurred since the JVM started. This method returns -1 if the collection count is undefined for this collector.

Namespace: StreamBase.SB.Monitor
Assembly: StreamBase.SB.Monitor (in StreamBase.SB.Monitor.dll) Version: 7.7.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public int GetGCCount()
Public Function GetGCCount As Integer
public:
int GetGCCount()

See Also