|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kohsuke.file_leak_detecter.Listener
public class Listener
Intercepted JDK calls land here.
| Field Summary | |
|---|---|
static java.io.PrintStream |
ERROR
Trace the "too many open files" error here |
static java.io.PrintStream |
TRACE
Trace the open/close op |
| Constructor Summary | |
|---|---|
Listener()
|
|
| Method Summary | |
|---|---|
static void |
close(java.lang.Object _this)
Called when a file is closed. |
static void |
dump(java.io.PrintStream ps)
Dumps all files that are currently open. |
static void |
open(java.lang.Object _this,
java.io.File f)
Called when a new file is opened. |
static void |
outOfDescriptors()
Called when the system has too many open files. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.io.PrintStream TRACE
public static java.io.PrintStream ERROR
| Constructor Detail |
|---|
public Listener()
| Method Detail |
|---|
public static void open(java.lang.Object _this,
java.io.File f)
_this - FileInputStream, FileOutputStream, or RandomAccessFile.f - File being opened.public static void close(java.lang.Object _this)
_this - FileInputStream, FileOutputStream, or RandomAccessFile.public static void dump(java.io.PrintStream ps)
public static void outOfDescriptors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||