#include <monThreadMethod.h>
Inheritance diagram for MonThreadMethod::
Public Methods | |
MonThreadMethod () | |
Default constructor. | |
virtual | ~MonThreadMethod () |
Destructor. | |
virtual void | addMonStat (jlong addHits, jlong addTime) |
Updates monitor statistics. More... | |
const MonThreadMethodKey & | getKey (MonThreadMethodKey &key) |
Retrieves object's key. More... | |
int | operator== (const MonThreadMethodKey &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 MonThreadMethodKey &key) |
Hash function. More... | |
Public Attributes | |
Thread * | thread |
parent thread. | |
Method * | method |
parent method. | |
List< MonThreadTrace, LI2 > | threadTraces |
associated MonThreadTraces. | |
Static Private Attributes | |
Allocator | _allocator |
allocator. |
This class consists of statistic information about method while running in the thread. Same method can run in different threads. So it would be useful to have an information about each method in each thread.
Definition at line 55 of file monThreadMethod.h.
|
Updates monitor statistics. Also updates monitor statistics of corresponding method.
Reimplemented from MonStatData. Definition at line 44 of file monThreadMethod.cpp. Referenced by MonThreadTrace::addMonStat().
|
|
Class identification.
Reimplemented from IdObject. Definition at line 148 of file monThreadMethod.h. |
|
Retrieves object's key.
Definition at line 61 of file monThreadMethod.cpp. |
|
Hash function.
Definition at line 74 of file monThreadMethod.cpp. |
|
State of object. Once an object is unactive, it remains unactive forever.
Reimplemented from IdObject. Definition at line 79 of file monThreadMethod.cpp. Referenced by MonThreadTrace::isActive().
|
|
Indication that object has changed its data.
Reimplemented from IdObject. Definition at line 163 of file monThreadMethod.h. |
|
Compares object with given key.
Definition at line 69 of file monThreadMethod.cpp. |