1 /* Copyright (C) 2006 Free Software Foundation
3 This file is part of libgcj.
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
10 * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
11 * @date Tue 08 Aug 2006 */
12 /* Implemented for our sole pool, the heap (we ignore the name input).
19 #include <gnu/java/lang/management/VMMemoryPoolMXBeanImpl.h>
20 #include <java/lang/UnsupportedOperationException.h>
22 ::java::lang::management::MemoryUsage
*
23 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsage(jstring
)
25 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsage (::java::lang::String *) not implemented"));
30 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsageThreshold (::java::lang::String
*)
32 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsageThreshold (::java::lang::String *) not implemented"));
37 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsageThresholdCount (::java::lang::String
*)
39 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsageThresholdCount (::java::lang::String *) not implemented"));
43 JArray
< ::java::lang::String
*> *
44 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getMemoryManagerNames(jstring
)
46 return (JArray
<jstring
>*)
47 JvNewObjectArray(1, &::java::lang::String::class$
, JvNewStringLatin1("BoehmGC"));
51 ::java::lang::management::MemoryUsage
*
52 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getPeakUsage (::java::lang::String
*)
54 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getPeakUsage (::java::lang::String *) not implemented"));
58 ::java::lang::String
*
59 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getType (::java::lang::String
*)
61 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getType (::java::lang::String *) not implemented"));
65 ::java::lang::management::MemoryUsage
*
66 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getUsage (::java::lang::String
*)
68 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getUsage (::java::lang::String *) not implemented"));
73 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getUsageThreshold (::java::lang::String
*)
75 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getUsageThreshold (::java::lang::String *) not implemented"));
80 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getUsageThresholdCount (::java::lang::String
*)
82 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getUsageThresholdCount (::java::lang::String *) not implemented"));
87 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::isValid (::java::lang::String
*)
94 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::resetPeakUsage (::java::lang::String
*)
96 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::resetPeakUsage (::java::lang::String *) not implemented"));
101 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::setCollectionUsageThreshold (::java::lang::String
*, jlong
)
103 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::setCollectionUsageThreshold (::java::lang::String *, jlong) not implemented"));
108 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::setUsageThreshold (::java::lang::String
*, jlong
)
110 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::setUsageThreshold (::java::lang::String *, jlong) not implemented"));