|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jvnet.hudson.MemoryMonitor
public abstract class MemoryMonitor
Encapsulates how to compute MemoryUsage.
| Constructor Summary | |
|---|---|
MemoryMonitor()
|
|
| Method Summary | |
|---|---|
static MemoryMonitor |
get()
Obtains the MemoryMonitor implementation suitable
for the current platform. |
static void |
main(String[] args)
Main for test |
abstract MemoryUsage |
monitor()
Obtains the memory usage statistics. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryMonitor()
| Method Detail |
|---|
public abstract MemoryUsage monitor()
throws IOException
IOException - If the computation fails for some reason.
public static MemoryMonitor get()
throws IOException
MemoryMonitor implementation suitable
for the current platform.
IOException - if no applicable implementation is found.
public static void main(String[] args)
throws Exception
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||