1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_lang_management_ThreadMXBean__
|
5 |
|
|
#define __java_lang_management_ThreadMXBean__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
class java::lang::management::ThreadMXBean : public ::java::lang::Object
|
14 |
|
|
{
|
15 |
|
|
|
16 |
|
|
public:
|
17 |
|
|
virtual JArray< ::java::lang::management::ThreadInfo * > * dumpAllThreads(jboolean, jboolean) = 0;
|
18 |
|
|
virtual JArray< jlong > * findDeadlockedThreads() = 0;
|
19 |
|
|
virtual JArray< jlong > * findMonitorDeadlockedThreads() = 0;
|
20 |
|
|
virtual JArray< jlong > * getAllThreadIds() = 0;
|
21 |
|
|
virtual jlong getCurrentThreadCpuTime() = 0;
|
22 |
|
|
virtual jlong getCurrentThreadUserTime() = 0;
|
23 |
|
|
virtual jint getDaemonThreadCount() = 0;
|
24 |
|
|
virtual jint getPeakThreadCount() = 0;
|
25 |
|
|
virtual jint getThreadCount() = 0;
|
26 |
|
|
virtual jlong getThreadCpuTime(jlong) = 0;
|
27 |
|
|
virtual ::java::lang::management::ThreadInfo * getThreadInfo(jlong) = 0;
|
28 |
|
|
virtual JArray< ::java::lang::management::ThreadInfo * > * getThreadInfo(JArray< jlong > *) = 0;
|
29 |
|
|
virtual JArray< ::java::lang::management::ThreadInfo * > * getThreadInfo(JArray< jlong > *, jboolean, jboolean) = 0;
|
30 |
|
|
virtual ::java::lang::management::ThreadInfo * getThreadInfo(jlong, jint) = 0;
|
31 |
|
|
virtual JArray< ::java::lang::management::ThreadInfo * > * getThreadInfo(JArray< jlong > *, jint) = 0;
|
32 |
|
|
virtual jlong getThreadUserTime(jlong) = 0;
|
33 |
|
|
virtual jlong getTotalStartedThreadCount() = 0;
|
34 |
|
|
virtual jboolean isCurrentThreadCpuTimeSupported() = 0;
|
35 |
|
|
virtual jboolean isObjectMonitorUsageSupported() = 0;
|
36 |
|
|
virtual jboolean isSynchronizerUsageSupported() = 0;
|
37 |
|
|
virtual jboolean isThreadContentionMonitoringEnabled() = 0;
|
38 |
|
|
virtual jboolean isThreadContentionMonitoringSupported() = 0;
|
39 |
|
|
virtual jboolean isThreadCpuTimeEnabled() = 0;
|
40 |
|
|
virtual jboolean isThreadCpuTimeSupported() = 0;
|
41 |
|
|
virtual void resetPeakThreadCount() = 0;
|
42 |
|
|
virtual void setThreadContentionMonitoringEnabled(jboolean) = 0;
|
43 |
|
|
virtual void setThreadCpuTimeEnabled(jboolean) = 0;
|
44 |
|
|
static ::java::lang::Class class$;
|
45 |
|
|
} __attribute__ ((java_interface));
|
46 |
|
|
|
47 |
|
|
#endif // __java_lang_management_ThreadMXBean__
|