1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_lang_management_ThreadInfo__
|
5 |
|
|
#define __java_lang_management_ThreadInfo__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace javax
|
15 |
|
|
{
|
16 |
|
|
namespace management
|
17 |
|
|
{
|
18 |
|
|
namespace openmbean
|
19 |
|
|
{
|
20 |
|
|
class CompositeData;
|
21 |
|
|
class CompositeType;
|
22 |
|
|
class OpenType;
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
}
|
26 |
|
|
}
|
27 |
|
|
|
28 |
|
|
class java::lang::management::ThreadInfo : public ::java::lang::Object
|
29 |
|
|
{
|
30 |
|
|
|
31 |
|
|
ThreadInfo(jlong, ::java::lang::String *, ::java::lang::Thread$State *, jlong, jlong, ::java::lang::String *, jlong, ::java::lang::String *, jlong, jlong, jboolean, jboolean, JArray< ::java::lang::StackTraceElement * > *, JArray< ::java::lang::management::MonitorInfo * > *, JArray< ::java::lang::management::LockInfo * > *);
|
32 |
|
|
public: // actually package-private
|
33 |
|
|
static void checkAttribute(::javax::management::openmbean::CompositeType *, ::java::lang::String *, ::javax::management::openmbean::OpenType *);
|
34 |
|
|
static ::javax::management::openmbean::CompositeType * getStackTraceType();
|
35 |
|
|
public:
|
36 |
|
|
static ::java::lang::management::ThreadInfo * from(::javax::management::openmbean::CompositeData *);
|
37 |
|
|
virtual jlong getBlockedCount();
|
38 |
|
|
virtual jlong getBlockedTime();
|
39 |
|
|
virtual JArray< ::java::lang::management::MonitorInfo * > * getLockedMonitors();
|
40 |
|
|
virtual JArray< ::java::lang::management::LockInfo * > * getLockedSynchronizers();
|
41 |
|
|
virtual ::java::lang::management::LockInfo * getLockInfo();
|
42 |
|
|
virtual ::java::lang::String * getLockName();
|
43 |
|
|
virtual jlong getLockOwnerId();
|
44 |
|
|
virtual ::java::lang::String * getLockOwnerName();
|
45 |
|
|
virtual JArray< ::java::lang::StackTraceElement * > * getStackTrace();
|
46 |
|
|
virtual jlong getThreadId();
|
47 |
|
|
virtual ::java::lang::String * getThreadName();
|
48 |
|
|
virtual ::java::lang::Thread$State * getThreadState();
|
49 |
|
|
virtual jlong getWaitedCount();
|
50 |
|
|
virtual jlong getWaitedTime();
|
51 |
|
|
virtual jboolean isInNative();
|
52 |
|
|
virtual jboolean isSuspended();
|
53 |
|
|
virtual ::java::lang::String * toString();
|
54 |
|
|
private:
|
55 |
|
|
jboolean isThreadBlocked();
|
56 |
|
|
jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) threadId;
|
57 |
|
|
::java::lang::String * threadName;
|
58 |
|
|
::java::lang::Thread$State * threadState;
|
59 |
|
|
jlong blockedCount;
|
60 |
|
|
jlong blockedTime;
|
61 |
|
|
::java::lang::String * lockName;
|
62 |
|
|
jlong lockOwnerId;
|
63 |
|
|
::java::lang::String * lockOwnerName;
|
64 |
|
|
jlong waitedCount;
|
65 |
|
|
jlong waitedTime;
|
66 |
|
|
jboolean isInNative__;
|
67 |
|
|
jboolean isSuspended__;
|
68 |
|
|
JArray< ::java::lang::StackTraceElement * > * trace;
|
69 |
|
|
JArray< ::java::lang::management::MonitorInfo * > * lockedMonitors;
|
70 |
|
|
JArray< ::java::lang::management::LockInfo * > * lockedSynchronizers;
|
71 |
|
|
static ::java::lang::management::ThreadMXBean * bean;
|
72 |
|
|
static ::javax::management::openmbean::CompositeType * seType;
|
73 |
|
|
public:
|
74 |
|
|
static ::java::lang::Class class$;
|
75 |
|
|
};
|
76 |
|
|
|
77 |
|
|
#endif // __java_lang_management_ThreadInfo__
|