OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / gnu / java / lang / management / MemoryPoolMXBeanImpl.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __gnu_java_lang_management_MemoryPoolMXBeanImpl__
5 #define __gnu_java_lang_management_MemoryPoolMXBeanImpl__
6
7 #pragma interface
8
9 #include <gnu/java/lang/management/BeanImpl.h>
10 #include <gcj/array.h>
11
12 extern "Java"
13 {
14   namespace gnu
15   {
16     namespace java
17     {
18       namespace lang
19       {
20         namespace management
21         {
22             class MemoryPoolMXBeanImpl;
23         }
24       }
25     }
26   }
27 }
28
29 class gnu::java::lang::management::MemoryPoolMXBeanImpl : public ::gnu::java::lang::management::BeanImpl
30 {
31
32 public:
33   MemoryPoolMXBeanImpl(::java::lang::String *);
34   ::java::lang::management::MemoryUsage * getCollectionUsage();
35   jlong getCollectionUsageThreshold();
36   jlong getCollectionUsageThresholdCount();
37   JArray< ::java::lang::String * > * getMemoryManagerNames();
38   ::java::lang::String * getName();
39   ::java::lang::management::MemoryUsage * getPeakUsage();
40   ::java::lang::management::MemoryType * getType();
41   ::java::lang::management::MemoryUsage * getUsage();
42   jlong getUsageThreshold();
43   jlong getUsageThresholdCount();
44   jboolean isCollectionUsageThresholdExceeded();
45   jboolean isCollectionUsageThresholdSupported();
46   jboolean isUsageThresholdExceeded();
47   jboolean isUsageThresholdSupported();
48   jboolean isValid();
49   void resetPeakUsage();
50   void setCollectionUsageThreshold(jlong);
51   void setUsageThreshold(jlong);
52 private:
53   ::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::java::lang::management::BeanImpl)))) name;
54   static ::java::lang::String * COLLECTION_USAGE_THRESHOLD;
55   static ::java::lang::String * USAGE_THRESHOLD;
56 public:
57   static ::java::lang::Class class$;
58 };
59
60 #endif // __gnu_java_lang_management_MemoryPoolMXBeanImpl__