diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2006-07-22 13:36:00 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2006-07-22 13:36:00 +0000 |
commit | 3969710e16d48d5a73780d821a587a1ff4b6fbe7 (patch) | |
tree | c8f9c56149146cbe69c8af8f74fa7b21daa97a14 /gnu | |
parent | edd158cb9d6e59fdfc276b1e26318e337a63b2a9 (diff) | |
download | classpath-3969710e16d48d5a73780d821a587a1ff4b6fbe7.tar.gz |
2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
* doc/vmintegration.texinfo:
Mention callback methods.
* gnu/java/lang/management/MemoryMXBeanImpl.java:
(fireNotification(String,String,long,long,long,long,long)):
Made package-private.
(fireThresholdExceededNotification(String,long,long,long,
long,long)): Likewise.
(fireCollectionThresholdExceededNotification(String,long,
long,long,long,long)): Likewise.
* java/lang/management/MemoryMXBean.java:
Document notifications.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/java/lang/management/MemoryMXBeanImpl.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gnu/java/lang/management/MemoryMXBeanImpl.java b/gnu/java/lang/management/MemoryMXBeanImpl.java index 1fa1a5954..6890130d4 100644 --- a/gnu/java/lang/management/MemoryMXBeanImpl.java +++ b/gnu/java/lang/management/MemoryMXBeanImpl.java @@ -257,8 +257,8 @@ public final class MemoryMXBeanImpl } } - public void fireNotification(String type, String poolName, long init, long used, - long committed, long max, long count) + void fireNotification(String type, String poolName, long init, long used, + long committed, long max, long count) { Notification notif = new Notification(type, this, notificationCount); MemoryUsage usage = new MemoryUsage(init, used, committed, max); @@ -290,20 +290,20 @@ public final class MemoryMXBeanImpl ++notificationCount; } - public void fireThresholdExceededNotification(String poolName, long init, - long used, long committed, - long max, long count) + void fireThresholdExceededNotification(String poolName, long init, + long used, long committed, + long max, long count) { fireNotification(MemoryNotificationInfo.MEMORY_THRESHOLD_EXCEEDED, poolName, init, used, committed, max, count); } - public void fireCollectionThresholdExceededNotification(String poolName, - long init, - long used, - long committed, - long max, - long count) + void fireCollectionThresholdExceededNotification(String poolName, + long init, + long used, + long committed, + long max, + long count) { fireNotification(MemoryNotificationInfo.MEMORY_COLLECTION_THRESHOLD_EXCEEDED, poolName, init, used, committed, max, count); |