#include <monThreadTrace.h>
Inheritance diagram for MonThreadTrace::
Public Methods | |
MonThreadTrace () | |
Default constructor. | |
virtual | ~MonThreadTrace () |
Destructor. | |
virtual void | addMonStat (jlong addHits, jlong addTime) |
Updates monitor statistics. More... | |
const MonThreadTraceKey & | getKey (MonThreadTraceKey &key) |
Retrieves object's key. More... | |
int | operator== (const MonThreadTraceKey &key) |
Compares object with given key. More... | |
void | deactivate () |
Performs deactivation. | |
void * | operator new (size_t sz) |
Overloaded new() operator. | |
void | operator delete (void *unit) |
Overloaded delete() operator. | |
virtual eClassIdent | getClassIdent () |
Class identification. More... | |
virtual int | isActive () |
State of object. More... | |
virtual int | isChanged () |
Indication that object has changed its data. More... | |
virtual void | setUnchanged () |
Set the structure is unchanged although it may not be. | |
Static Public Methods | |
int | hashKey (const MonThreadTraceKey &key) |
Hash function. More... | |
Public Attributes | |
MonThreadMethod * | threadMethod |
parent MonThreadMethod. | |
MonTrace * | trace |
parent MonTrace. | |
Static Private Attributes | |
Allocator | _allocator |
allocator. |
This class consists of statistic information about a trace while running in the thread. Same trace can run in different threads. So it would be useful to have an information about each trace in each thread.
Definition at line 53 of file monThreadTrace.h.
|
Updates monitor statistics. Also updates monitor statistics of corresponding MonTrace and MonThreadMethod.
Reimplemented from MonStatData. Definition at line 45 of file monThreadTrace.cpp. |
|
Class identification.
Reimplemented from IdObject. Definition at line 144 of file monThreadTrace.h. |
|
Retrieves object's key.
Definition at line 57 of file monThreadTrace.cpp. |
|
Hash function.
Definition at line 70 of file monThreadTrace.cpp. |
|
State of object. Once an object is unactive, it remains unactive forever.
Reimplemented from IdObject. Definition at line 75 of file monThreadTrace.cpp. |
|
Indication that object has changed its data.
Reimplemented from IdObject. Definition at line 159 of file monThreadTrace.h. |
|
Compares object with given key.
Definition at line 65 of file monThreadTrace.cpp. |