Update of /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi
In directory usw-pr-cvs1:/tmp/cvs-serv19177/net/sourceforge/javaprofiler/jpi
Modified Files:
AllocThreadMethodRef.java AllocThreadTraceRef.java
AllocTraceRef.java AllocTypeMethodRef.java
AllocTypeThreadMethodRef.java AllocTypeThreadRef.java
AllocTypeThreadTraceRef.java AllocTypeTraceRef.java
CPUThreadMethodRef.java CPUThreadTraceRef.java
CPUTraceRef.java CallTreeRef.java ChildrenEvent.java
ChildrenListener.java ClassRef.java Constants.java
DisconnectionListener.java FieldRef.java FrameRef.java
GCRunRef.java HasChildren.java HasLocationRoot.java
HasThreadRoot.java HasTypeRoot.java LocationRef.java
MethodRef.java MonThreadMethodRef.java MonThreadTraceRef.java
MonTraceRef.java ThreadGroupRef.java ThreadRef.java
TraceRef.java TypeRef.java VirtualMachineImageRef.java
VirtualMachineRef.java
Log Message:
Javadoc update.
Index: AllocThreadMethodRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/AllocThreadMethodRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AllocThreadMethodRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- AllocThreadMethodRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 23,36 ****
import java.util.List;
! public interface AllocThreadMethodRef extends AllocStat, HasThreadRoot,
HasLocationRoot, HasChildren {
CPUThreadMethodRef getSiblingCPU();
MonThreadMethodRef getSiblingMon();
!
List getAllocThreadTraces();
List getAllocTypeThreadMethods();
AllocTypeThreadMethodRef getAllocTypeThreadMethod( TypeRef peer);
!
ThreadRef getThread();
MethodRef getMethod();
}
--- 23,75 ----
import java.util.List;
! /**
! * This interface represents memory related information about instances
! * of any type allocated during execution of specific method and specific
! * thread.
! */
!
! public interface AllocThreadMethodRef extends AllocStat, HasThreadRoot,
HasLocationRoot, HasChildren {
+ /**
+ * Returns object representing CPU related information about
+ * the same method and thread this object belongs to.
+ */
CPUThreadMethodRef getSiblingCPU();
+
+ /**
+ * Returns object representing monitor related information about
+ * the same method and thread this object belongs to.
+ */
MonThreadMethodRef getSiblingMon();
!
! /**
! * Returns the list representing memory related information about
! * instances of different types allocated during execution of the
! * trace and thread this object belongs to.
! */
List getAllocThreadTraces();
+
+ /**
+ * Returns the list representing memory related information about
+ * instances of different types allocated during execution of the
+ * same method and thread this object belongs to.
+ */
List getAllocTypeThreadMethods();
+
+ /**
+ * Returns the list representing memory related information about
+ * instances of the specified type allocated during execution of the
+ * same method and thread this object belongs to.
+ */
AllocTypeThreadMethodRef getAllocTypeThreadMethod( TypeRef peer);
!
! /**
! * Returns the thread object this object belongs to.
! */
ThreadRef getThread();
+
+ /**
+ * Returns the method object this object belongs to.
+ */
MethodRef getMethod();
}
***************
*** 38,41 ****
--- 77,84 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 48,50 ****
* License added.
*
! */
\ No newline at end of file
--- 91,93 ----
* License added.
*
! */
Index: AllocThreadTraceRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/AllocThreadTraceRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AllocThreadTraceRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- AllocThreadTraceRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 23,43 ****
import java.util.List;
! public interface AllocThreadTraceRef extends AllocStat, HasThreadRoot, HasLocationRoot {
CPUThreadTraceRef getSiblingCPU();
MonThreadTraceRef getSiblingMon();
!
List getAllocTypeThreadTraces();
- AllocTypeThreadTraceRef getAllocTypeThreadTrace( TypeRef peer);
AllocThreadMethodRef getAllocThreadMethod();
ThreadRef getThread();
AllocTraceRef getAllocTrace();
-
- void addChildrenListener( int type, ChildrenListener listener);
- void removeChildrenListener( int type, ChildrenListener listener);
}
/*
* $Log$
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
--- 23,82 ----
import java.util.List;
! /**
! * This interface represents memory related information about instances
! * of any type allocated during execution of specific trace and specific
! * thread.
! */
!
! public interface AllocThreadTraceRef extends AllocStat, HasChildren, HasThreadRoot, HasLocationRoot {
!
! /**
! * Returns object representing CPU related information about
! * the same trace and thread this object belongs to.
! */
CPUThreadTraceRef getSiblingCPU();
+
+ /**
+ * Returns object representing monitor related information about
+ * the same trace and thread this object belongs to.
+ */
MonThreadTraceRef getSiblingMon();
!
! /**
! * Returns the list representing memory related information about
! * instances of different types allocated during execution of the
! * same method and thread this object belongs to.
! */
List getAllocTypeThreadTraces();
+ /**
+ * Returns the list representing memory related information about
+ * instances of the specified type allocated during execution of the
+ * same method and thread this object belongs to.
+ */
+ AllocTypeThreadTraceRef getAllocTypeThreadTrace( TypeRef peer);
+
+ /**
+ * Returns the parent <code>AllocThreadMethod</code>.
+ */
AllocThreadMethodRef getAllocThreadMethod();
+
+ /**
+ * Returns the thread this object belongs to.
+ */
ThreadRef getThread();
+
+ /**
+ * Returns the trace this object belongs to.
+ */
AllocTraceRef getAllocTrace();
}
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 50,52 ****
* License added.
*
! */
\ No newline at end of file
--- 89,91 ----
* License added.
*
! */
Index: AllocTraceRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/AllocTraceRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AllocTraceRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- AllocTraceRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 23,34 ****
import java.util.List;
public interface AllocTraceRef extends AllocStat, TraceRef, HasLocationRoot,
HasChildren {
CPUTraceRef getSiblingCPU();
- MonTraceRef getSiblingMon();
List getAllocThreadTraces();
AllocThreadTraceRef getAllocThreadTrace( ThreadRef peer);
List getAllocTypeTraces();
AllocTypeTraceRef getAllocTypeTrace( TypeRef peer);
}
--- 23,68 ----
import java.util.List;
+ /**
+ * This interface represents memory related information about instances
+ * allocated during execution of specific trace.
+ */
+
public interface AllocTraceRef extends AllocStat, TraceRef, HasLocationRoot,
HasChildren {
+ /**
+ * Returns object representing CPU related information about
+ * the same trace this object belongs to.
+ */
CPUTraceRef getSiblingCPU();
+ /**
+ * Returns object representing monitor related information about
+ * the same trace this object belongs to.
+ */
+ MonTraceRef getSiblingMon();
+
+ /**
+ * Returns the list representing memory related information about
+ * instances allocated during execution of the different threads and
+ * the same trace this object belongs to.
+ */
List getAllocThreadTraces();
+ /**
+ * Returns the list representing memory related information about
+ * instances allocated during execution of the specified thread and
+ * the same trace this object belongs to.
+ */
AllocThreadTraceRef getAllocThreadTrace( ThreadRef peer);
+ /**
+ * Returns the list representing memory related information about
+ * instances of different types allocated during execution of
+ * the same trace this object belongs to.
+ */
List getAllocTypeTraces();
+ /**
+ * Returns the list representing memory related information about
+ * instances of specified types allocated during execution of
+ * the same trace this object belongs to.
+ */
AllocTypeTraceRef getAllocTypeTrace( TypeRef peer);
}
***************
*** 36,39 ****
--- 70,77 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 46,48 ****
* License added.
*
! */
\ No newline at end of file
--- 84,86 ----
* License added.
*
! */
Index: AllocTypeMethodRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/AllocTypeMethodRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AllocTypeMethodRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- AllocTypeMethodRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 23,34 ****
import java.util.List;
public interface AllocTypeMethodRef extends AllocStat, HasTypeRoot,
HasLocationRoot, HasChildren {
!
List getAllocTypeTraces();
List getAllocTypeThreadMethods();
AllocTypeThreadMethodRef getAllocTypeThreadMethod( ThreadRef peer);
TypeRef getType();
MethodRef getMethod();
}
--- 23,62 ----
import java.util.List;
+ /**
+ * This interface represents memory related information about instances
+ * of specific type allocated during execution of specific method.
+ */
+
public interface AllocTypeMethodRef extends AllocStat, HasTypeRoot,
HasLocationRoot, HasChildren {
! /**
! * Returns the list representing memory related information about
! * instances of the same type allocated during execution of the same
! * thread this object belongs to.
! */
List getAllocTypeTraces();
+
+ /**
+ * Returns the list representing memory related information about
+ * instances of the same type allocated during execution of the
+ * same method this object belongs to.
+ */
List getAllocTypeThreadMethods();
+
+ /**
+ * Returns the list representing memory related information about
+ * instances of the same type allocated during execution of the
+ * same method this object belongs to and the specified thread.
+ */
AllocTypeThreadMethodRef getAllocTypeThreadMethod( ThreadRef peer);
+ /**
+ * Returns the type object this object belongs to.
+ */
TypeRef getType();
+
+ /**
+ * Returns the method object this object belongs to.
+ */
MethodRef getMethod();
}
***************
*** 36,39 ****
--- 64,71 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 46,48 ****
* License added.
*
! */
\ No newline at end of file
--- 78,80 ----
* License added.
*
! */
Index: AllocTypeThreadMethodRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/AllocTypeThreadMethodRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AllocTypeThreadMethodRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- AllocTypeThreadMethodRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 23,34 ****
import java.util.List;
! public interface AllocTypeThreadMethodRef extends AllocStat,
! HasTypeRoot, HasThreadRoot,
HasLocationRoot, HasChildren {
!
List getAllocTypeThreadTraces();
!
AllocTypeMethodRef getAllocTypeMethod();
AllocThreadMethodRef getAllocThreadMethod();
AllocTypeThreadRef getAllocTypeThread();
}
--- 23,52 ----
import java.util.List;
! /**
! * This interface represents memory related information about instances
! * of specific type allocated during execution of specific method and specific
! * thread.
! */
! public interface AllocTypeThreadMethodRef extends AllocStat,
! HasTypeRoot, HasThreadRoot,
HasLocationRoot, HasChildren {
! /**
! * Returns the list representing memory related information about
! * instances of specific type allocated during execution of the
! * related trace and thread this object belongs to.
! */
List getAllocTypeThreadTraces();
!
! /**
! * Returns the typemethod object this object belongs to.
! */
AllocTypeMethodRef getAllocTypeMethod();
+ /**
+ * Returns the threadmethod object this object belongs to.
+ */
AllocThreadMethodRef getAllocThreadMethod();
+ /**
+ * Returns the typethread object this object belongs to.
+ */
AllocTypeThreadRef getAllocTypeThread();
}
***************
*** 36,39 ****
--- 54,61 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 46,48 ****
* License added.
*
! */
\ No newline at end of file
--- 68,70 ----
* License added.
*
! */
Index: AllocTypeThreadRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/AllocTypeThreadRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AllocTypeThreadRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- AllocTypeThreadRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 22,35 ****
import java.util.List;
!
! public interface AllocTypeThreadRef extends AllocStat, HasTypeRoot,
HasThreadRoot, HasChildren {
!
List getAllocTypeThreadMethods();
AllocTypeThreadMethodRef getAllocTypeThreadMethod( MethodRef peer);
List getAllocTypeThreadTraces();
AllocTypeThreadTraceRef getAllocTypeThreadTrace( AllocTraceRef peer);
!
TypeRef getType();
ThreadRef getThread();
}
--- 22,68 ----
import java.util.List;
! /**
! * This interface represents memory related information about instances
! * of specific type allocated during execution of specific thread.
! */
! public interface AllocTypeThreadRef extends AllocStat, HasTypeRoot,
HasThreadRoot, HasChildren {
!
! /**
! * Returns the list representing memory related information about
! * instances of specific type allocated during execution of the
! * different methods and thread this object belongs to.
! */
List getAllocTypeThreadMethods();
+
+ /**
+ * Returns the list representing memory related information about
+ * instances of specific type allocated during execution of the
+ * specified method and thread this object belongs to.
+ */
AllocTypeThreadMethodRef getAllocTypeThreadMethod( MethodRef peer);
+
+ /**
+ * Returns the list representing memory related information about
+ * instances of specific type allocated during execution of the
+ * different traces and thread this object belongs to.
+ */
List getAllocTypeThreadTraces();
+
+ /**
+ * Returns the list representing memory related information about
+ * instances of specific type allocated during execution of the
+ * specified trace and thread this object belongs to.
+ */
AllocTypeThreadTraceRef getAllocTypeThreadTrace( AllocTraceRef peer);
!
! /**
! * Returns the type object this object belongs to.
! */
TypeRef getType();
+
+ /**
+ * Returns the thread object this object belongs to.
+ */
ThreadRef getThread();
}
***************
*** 37,40 ****
--- 70,77 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 47,49 ****
* License added.
*
! */
\ No newline at end of file
--- 84,86 ----
* License added.
*
! */
Index: AllocTypeThreadTraceRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/AllocTypeThreadTraceRef.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** AllocTypeThreadTraceRef.java 27 Jul 2002 22:25:17 -0000 1.5
--- AllocTypeThreadTraceRef.java 12 Sep 2002 13:00:12 -0000 1.6
***************
*** 23,32 ****
import java.util.List;
! public interface AllocTypeThreadTraceRef extends AllocStat,
HasTypeRoot, HasThreadRoot, HasLocationRoot {
!
AllocTypeThreadMethodRef getAllocTypeThreadMethod();
AllocTypeTraceRef getAllocTypeTrace();
AllocThreadTraceRef getAllocThreadTrace();
AllocTypeThreadRef getAllocTypeThread();
}
--- 23,54 ----
import java.util.List;
! /**
! * This interface represents memory related information about instances
! * of specific type allocated during execution of specific method and specific
! * thread.
! */
! public interface AllocTypeThreadTraceRef extends AllocStat,
HasTypeRoot, HasThreadRoot, HasLocationRoot {
!
! /**
! * Returns the list representing memory related information about
! * instances of specific type allocated during execution of the
! * related method and thread this object belongs to.
! */
AllocTypeThreadMethodRef getAllocTypeThreadMethod();
+
+ /**
+ * Returns the typetrace object this object belongs to.
+ */
AllocTypeTraceRef getAllocTypeTrace();
+
+ /**
+ * Returns the threadtrace object this object belongs to.
+ */
AllocThreadTraceRef getAllocThreadTrace();
+
+ /**
+ * Returns the typethread object this object belongs to.
+ */
AllocTypeThreadRef getAllocTypeThread();
}
***************
*** 34,37 ****
--- 56,63 ----
/*
* $Log$
+ * Revision 1.6 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.5 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 44,46 ****
* License added.
*
! */
\ No newline at end of file
--- 70,72 ----
* License added.
*
! */
Index: AllocTypeTraceRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/AllocTypeTraceRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AllocTypeTraceRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- AllocTypeTraceRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 23,34 ****
import java.util.List;
! public interface AllocTypeTraceRef extends AllocStat, HasTypeRoot,
HasLocationRoot, HasChildren {
!
List getAllocTypeThreadTraces();
- AllocTypeThreadTraceRef getAllocTypeThreadTrace( ThreadRef peer);
AllocTypeMethodRef getAllocTypeMethod();
TypeRef getType();
AllocTraceRef getAllocTrace();
}
--- 23,59 ----
import java.util.List;
! /**
! * This interface represents memory related information about instances
! * of any specific type allocated during execution of specific trace.
! */
!
! public interface AllocTypeTraceRef extends AllocStat, HasTypeRoot,
HasLocationRoot, HasChildren {
! /**
! * Returns the list representing memory related information about
! * instances of the same type allocated during execution of the
! * same method this object belongs to.
! */
List getAllocTypeThreadTraces();
+ /**
+ * Returns the object representing memory related information about
+ * instances of the same type allocated during execution of the
+ * same method this object belongs to and the specified thread.
+ */
+ AllocTypeThreadTraceRef getAllocTypeThreadTrace( ThreadRef peer);
+
+ /**
+ * Returns the related typemethod object.
+ */
AllocTypeMethodRef getAllocTypeMethod();
+
+ /**
+ * Returns the type object this object belongs to.
+ */
TypeRef getType();
+ /**
+ * Returns the type object this object belongs to.
+ */
AllocTraceRef getAllocTrace();
}
***************
*** 36,39 ****
--- 61,68 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 46,48 ****
* License added.
*
! */
\ No newline at end of file
--- 75,77 ----
* License added.
*
! */
Index: CPUThreadMethodRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/CPUThreadMethodRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** CPUThreadMethodRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- CPUThreadMethodRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 23,34 ****
import java.util.List;
! public interface CPUThreadMethodRef extends CPUStat, HasThreadRoot,
HasLocationRoot, HasChildren {
AllocThreadMethodRef getSiblingAlloc();
MonThreadMethodRef getSiblingMon();
!
List getCPUThreadTraces();
!
ThreadRef getThread();
MethodRef getMethod();
}
--- 23,57 ----
import java.util.List;
! /**
! * <code>CPUThreadMethodRef</code> contains CPU related information
! * about execution of some method in some thread.
! */
! public interface CPUThreadMethodRef extends CPUStat, HasThreadRoot,
HasLocationRoot, HasChildren {
+ /**
+ * Returns the object that contains memory related information
+ * about the same method and thread this object belongs to.
+ */
AllocThreadMethodRef getSiblingAlloc();
+
+ /**
+ * Returns the object that contains monitor related information
+ * about the same method and thread this object belongs to.
+ */
MonThreadMethodRef getSiblingMon();
!
! /**
! * Returns the object that contains CPU related information
! * about related threadtraces.
! */
List getCPUThreadTraces();
!
! /**
! * Returns the thread this object belongs to.
! */
ThreadRef getThread();
+ /**
+ * Returns the method this object belongs to.
+ */
MethodRef getMethod();
}
***************
*** 36,39 ****
--- 59,66 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 46,48 ****
* License added.
*
! */
\ No newline at end of file
--- 73,75 ----
* License added.
*
! */
Index: CPUThreadTraceRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/CPUThreadTraceRef.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** CPUThreadTraceRef.java 27 Jul 2002 22:25:17 -0000 1.5
--- CPUThreadTraceRef.java 12 Sep 2002 13:00:12 -0000 1.6
***************
*** 23,32 ****
--- 23,58 ----
import java.util.List;
+ /**
+ * <code>CPUThreadTraceRef</code> contains CPU related information
+ * about execution of some trace in some thread.
+ */
public interface CPUThreadTraceRef extends CPUStat, HasThreadRoot, HasLocationRoot {
+
+ /**
+ * Returns the object that contains memory related information
+ * about the same trace and thread this object belongs to.
+ */
AllocThreadTraceRef getSiblingAlloc();
+
+ /**
+ * Returns the object that contains monitor related information
+ * about the same method and thread this object belongs to.
+ */
MonThreadTraceRef getSiblingMon();
+ /**
+ * Returns the object that contains CPU related information
+ * about related threadtrace.
+ */
CPUThreadMethodRef getCPUThreadMethod();
+
+ /**
+ * Returns the thread this object belongs to.
+ */
ThreadRef getThread();
+
+ /**
+ * Returns the method this object belongs to.
+ */
CPUTraceRef getCPUTrace();
}
***************
*** 34,37 ****
--- 60,67 ----
/*
* $Log$
+ * Revision 1.6 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.5 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 44,46 ****
* License added.
*
! */
\ No newline at end of file
--- 74,76 ----
* License added.
*
! */
Index: CPUTraceRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/CPUTraceRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** CPUTraceRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- CPUTraceRef.java 12 Sep 2002 13:00:12 -0000 1.7
***************
*** 23,32 ****
import java.util.List;
public interface CPUTraceRef extends CPUStat, TraceRef, HasLocationRoot,
HasChildren {
AllocTraceRef getSiblingAlloc();
- MonTraceRef getSiblingMon();
List getCPUThreadTraces();
CPUThreadTraceRef getCPUThreadTrace( ThreadRef peer);
}
--- 23,53 ----
import java.util.List;
+ /**
+ * <code>CPUTrace</code> contains CPU related information about one trace.
+ */
public interface CPUTraceRef extends CPUStat, TraceRef, HasLocationRoot,
HasChildren {
+ /**
+ * Returns the object representing memory related information
+ * about the same trace as this object.
+ */
AllocTraceRef getSiblingAlloc();
+ /**
+ * Returns the object representing monitor related information
+ * about the same trace as this object.
+ */
+ MonTraceRef getSiblingMon();
+
+ /**
+ * Returns the list of objects containing CPU related information
+ * threadtraces.
+ */
List getCPUThreadTraces();
+
+ /**
+ * Returns the threadtrace that belongs to the spefied thread and the same
+ * trace this object belongs to.
+ */
CPUThreadTraceRef getCPUThreadTrace( ThreadRef peer);
}
***************
*** 34,37 ****
--- 55,62 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 44,46 ****
* License added.
*
! */
\ No newline at end of file
--- 69,71 ----
* License added.
*
! */
Index: CallTreeRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/CallTreeRef.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** CallTreeRef.java 31 Jul 2002 20:37:39 -0000 1.7
--- CallTreeRef.java 12 Sep 2002 13:00:12 -0000 1.8
***************
*** 23,41 ****
import java.util.List;
! public interface CallTreeRef {
FrameRef getFrame();
long getCPUHitsCount();
long getCPUPureTime();
long getCPUCumulativeTime();
CallTreeRef getParent();
!
List getChildren();
-
- void addChildrenListener( int type, ChildrenListener listener);
- void removeChildrenListener( int type, ChildrenListener listener);
}
/*
* $Log$
* Revision 1.7 2002/07/31 20:37:39 petrul
* fixed broken commentary
--- 23,68 ----
import java.util.List;
! /**
! * This interface represents one node in calltree.
! */
! public interface CallTreeRef extends HasChildren {
!
! /**
! * Returns the frame this node belongs to.
! */
FrameRef getFrame();
+
+ /**
+ * Returns the number of CPU hits.
+ */
long getCPUHitsCount();
+
+ /**
+ * Returns the pure time spent in related frame.
+ */
long getCPUPureTime();
+ /**
+ * Returns the cumulative (eg. with frames called from this frame) time
+ * spent in related frame.
+ */
long getCPUCumulativeTime();
+ /**
+ * Returns the parent node.
+ */
CallTreeRef getParent();
!
! /**
! * Returns the list of child nodes. You can assume that the list is made
! * of <code>CallTreeRef</code> instances.
! */
List getChildren();
}
/*
* $Log$
+ * Revision 1.8 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.7 2002/07/31 20:37:39 petrul
* fixed broken commentary
***************
*** 51,53 ****
* License added.
*
! */
\ No newline at end of file
--- 78,80 ----
* License added.
*
! */
Index: ChildrenEvent.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/ChildrenEvent.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** ChildrenEvent.java 10 Sep 2002 11:04:01 -0000 1.4
--- ChildrenEvent.java 12 Sep 2002 13:00:12 -0000 1.5
***************
*** 21,27 ****
--- 21,40 ----
package net.sourceforge.javaprofiler.jpi;
+ /**
+ * Event object contaioning information about children changes.
+ */
public class ChildrenEvent extends java.util.EventObject {
+ /**
+ * Constant indicating that some children were added.
+ */
public static final int CHILDREN_ADDED = 1;
+ /**
+ * Constant indicating that the properties of some children were changed.
+ */
public static final int CHILDREN_CHANGED = 2;
+ /**
+ * Constant indicating that some children were added and properties
+ * of some other children were changed.
+ */
public static final int CHILDREN_ADDED_AND_CHANGED = 3;
***************
*** 30,33 ****
--- 43,49 ----
private final int[] deltaIndices;
+ /**
+ * Creates new children event.
+ */
public ChildrenEvent( Object source, int type, Object[] delta, int[] deltaIndices) {
super( source);
***************
*** 36,42 ****
this.deltaIndices = deltaIndices;
}
!
public int getType() { return type; }
public Object[] getDelta() { return delta; }
public int[] getDeltaIndices() { return deltaIndices; }
}
--- 52,69 ----
this.deltaIndices = deltaIndices;
}
!
! /**
! * Returns the type of the event.
! */
public int getType() { return type; }
+
+ /**
+ * Returns the array of objects that were changed or added.
+ */
public Object[] getDelta() { return delta; }
+
+ /**
+ * Returns the array of indices of objects that were changed or added.
+ */
public int[] getDeltaIndices() { return deltaIndices; }
}
***************
*** 44,47 ****
--- 71,78 ----
/*
* $Log$
+ * Revision 1.5 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.4 2002/09/10 11:04:01 michalpise
*
Index: ChildrenListener.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/ChildrenListener.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** ChildrenListener.java 10 Jul 2002 14:24:16 -0000 1.4
--- ChildrenListener.java 12 Sep 2002 13:00:12 -0000 1.5
***************
*** 21,26 ****
--- 21,35 ----
package net.sourceforge.javaprofiler.jpi;
+ /**
+ * Listener interface for children events.
+ */
public interface ChildrenListener extends java.util.EventListener {
+ /**
+ * Indicates that some children were added.
+ */
void childrenAdded( ChildrenEvent event);
+ /**
+ * Indicates that some children were changed.
+ */
void childrenChanged( ChildrenEvent event);
}
***************
*** 28,31 ****
--- 37,44 ----
/*
* $Log$
+ * Revision 1.5 2002/09/12 13:00:12 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.4 2002/07/10 14:24:16 petrul
* listeners now extend java.util.EventListener
***************
*** 34,36 ****
* License added.
*
! */
\ No newline at end of file
--- 47,49 ----
* License added.
*
! */
Index: ClassRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/ClassRef.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ClassRef.java 2 Jul 2002 20:17:14 -0000 1.3
--- ClassRef.java 12 Sep 2002 13:00:13 -0000 1.4
***************
*** 23,30 ****
--- 23,48 ----
import java.util.List;
+ /**
+ * This interface represents information about one {@link java.lang.Class} object.
+ * It is immutable so it has no listeners.
+ */
public interface ClassRef {
+ /**
+ * Returns the name of the class.
+ */
String getName();
+ /**
+ * Returns the name of the file the class was defined in.
+ */
String getSourceFileName();
+ /**
+ * Returns the immutable list of fields defined in this class. You can assume
+ * the list is made of {@link FieldRef} instances.
+ */
List getFields();
+ /**
+ * Returns the immutable list of methods defined in this class. You can assume
+ * the list is made of {@link MethodRef} instances.
+ */
List getMethods();
}
***************
*** 32,37 ****
/*
* $Log$
* Revision 1.3 2002/07/02 20:17:14 stolis
* License added.
*
! */
\ No newline at end of file
--- 50,59 ----
/*
* $Log$
+ * Revision 1.4 2002/09/12 13:00:13 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.3 2002/07/02 20:17:14 stolis
* License added.
*
! */
Index: Constants.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/Constants.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Constants.java 15 Jul 2002 21:40:27 -0000 1.2
--- Constants.java 12 Sep 2002 13:00:13 -0000 1.3
***************
*** 22,26 ****
/**
! * Constants used in JPI
* @author Pavel Vacha
*/
--- 22,26 ----
/**
! * Constants used in JPI. The meaning of every field is quite obvious.
* @author Pavel Vacha
*/
Index: DisconnectionListener.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/DisconnectionListener.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** DisconnectionListener.java 10 Sep 2002 12:06:54 -0000 1.1
--- DisconnectionListener.java 12 Sep 2002 13:00:13 -0000 1.2
***************
*** 21,24 ****
--- 21,28 ----
package net.sourceforge.javaprofiler.jpi;
+ /**
+ * A listener interface for disconnection events. Please note that there are
+ * no disconnection event objects.
+ */
public interface DisconnectionListener {
/**
***************
*** 31,34 ****
--- 35,42 ----
/*
* $Log$
+ * Revision 1.2 2002/09/12 13:00:13 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.1 2002/09/10 12:06:54 michalpise
*
Index: FieldRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/FieldRef.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** FieldRef.java 2 Jul 2002 20:17:13 -0000 1.3
--- FieldRef.java 12 Sep 2002 13:00:13 -0000 1.4
***************
*** 23,30 ****
--- 23,45 ----
import java.util.List;
+ /**
+ * Description of a class field.
+ */
public interface FieldRef {
+ /**
+ * Returns the name of the field.
+ */
String getName();
+ /**
+ * Returns the signature (type) of the field.
+ */
String getSignature();
+ /**
+ * Returns the class this field belongs to.
+ */
ClassRef getParentClass();
+ /**
+ * Indicates whether the field is static.
+ */
boolean isStatic();
}
***************
*** 32,37 ****
/*
* $Log$
* Revision 1.3 2002/07/02 20:17:13 stolis
* License added.
*
! */
\ No newline at end of file
--- 47,56 ----
/*
* $Log$
+ * Revision 1.4 2002/09/12 13:00:13 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.3 2002/07/02 20:17:13 stolis
* License added.
*
! */
Index: FrameRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/FrameRef.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** FrameRef.java 2 Jul 2002 20:17:13 -0000 1.3
--- FrameRef.java 12 Sep 2002 13:00:13 -0000 1.4
***************
*** 23,29 ****
--- 23,41 ----
import java.util.List;
+ /**
+ * This interface holds information about a frame.
+ */
public interface FrameRef {
+ /**
+ * Returns the method this frame belongs to.
+ */
MethodRef getMethod();
+ /**
+ * Returns the frame that called this frame.
+ */
FrameRef getCallerFrame();
+ /**
+ * Returns the line number in the calling method.
+ */
int getLineNo();
}
***************
*** 31,36 ****
/*
* $Log$
* Revision 1.3 2002/07/02 20:17:13 stolis
* License added.
*
! */
\ No newline at end of file
--- 43,52 ----
/*
* $Log$
+ * Revision 1.4 2002/09/12 13:00:13 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.3 2002/07/02 20:17:13 stolis
* License added.
*
! */
Index: GCRunRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/GCRunRef.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** GCRunRef.java 14 Jul 2002 17:59:41 -0000 1.3
--- GCRunRef.java 12 Sep 2002 13:00:13 -0000 1.4
***************
*** 23,31 ****
--- 23,46 ----
import java.util.Date;
+ /**
+ * Contains information about garbage runs.
+ */
public interface GCRunRef {
+ /**
+ * Returns the number of used objects.
+ */
long getUsedObjectsCount();
+ /**
+ * Returns the size of used space.
+ */
long getUsedSpace();
long getTotalSpace();
+ /**
+ * Returns the time the GC run started.
+ */
Date getStartTime();
+ /**
+ * Returns the time the GC run ended.
+ */
Date getEndTime();
}
***************
*** 33,36 ****
--- 48,55 ----
/*
* $Log$
+ * Revision 1.4 2002/09/12 13:00:13 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.3 2002/07/14 17:59:41 stolis
* Obsolete comment removed.
***************
*** 39,41 ****
* License added.
*
! */
\ No newline at end of file
--- 58,60 ----
* License added.
*
! */
Index: HasChildren.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/HasChildren.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** HasChildren.java 27 Jul 2002 22:24:13 -0000 1.1
--- HasChildren.java 12 Sep 2002 13:00:13 -0000 1.2
***************
*** 22,31 ****
/**
! *
* @author Pavel Vacha
*/
public interface HasChildren {
!
void addChildrenListener( int type, ChildrenListener listener);
void removeChildrenListener( int type, ChildrenListener listener);
}
--- 22,38 ----
/**
! * This interface is inherited by all objects that have children. It is used to
! * weaken the need to typecast in some cases.
* @author Pavel Vacha
*/
public interface HasChildren {
! /**
! * Adds a new children listener which listens for a changes on specified type
! * of children.
! */
void addChildrenListener( int type, ChildrenListener listener);
+ /**
+ * Removes previously registered listener.
+ */
void removeChildrenListener( int type, ChildrenListener listener);
}
Index: HasLocationRoot.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/HasLocationRoot.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** HasLocationRoot.java 27 Jul 2002 22:24:13 -0000 1.1
--- HasLocationRoot.java 12 Sep 2002 13:00:13 -0000 1.2
***************
*** 22,29 ****
/**
! *
* @author Pavel Vacha
*/
public interface HasLocationRoot {
public LocationRef getLocation();
}
--- 22,33 ----
/**
! * This interface is inherited by all objects that contain some information
! * about some method or trace. It is used to weaken the need to typecast in some cases.
* @author Pavel Vacha
*/
public interface HasLocationRoot {
+ /**
+ * Returns the location.
+ */
public LocationRef getLocation();
}
***************
*** 31,34 ****
--- 35,42 ----
/*
* $Log$
+ * Revision 1.2 2002/09/12 13:00:13 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.1 2002/07/27 22:24:13 vachis
* renamed word Root added
***************
*** 37,39 ****
* new interfaces for getting roots and info
*
! */
\ No newline at end of file
--- 45,47 ----
* new interfaces for getting roots and info
*
! */
Index: HasThreadRoot.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/HasThreadRoot.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** HasThreadRoot.java 27 Jul 2002 22:24:13 -0000 1.1
--- HasThreadRoot.java 12 Sep 2002 13:00:13 -0000 1.2
***************
*** 22,29 ****
/**
! *
* @author Pavel Vacha
*/
public interface HasThreadRoot {
public ThreadRef getThread();
}
--- 22,33 ----
/**
! * This interface is inherited by all objects that contain information
! * about some thread. It is used to weaken the need to typecast in some cases.
* @author Pavel Vacha
*/
public interface HasThreadRoot {
+ /**
+ * Returns the thread object.
+ */
public ThreadRef getThread();
}
***************
*** 31,34 ****
--- 35,42 ----
/*
* $Log$
+ * Revision 1.2 2002/09/12 13:00:13 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.1 2002/07/27 22:24:13 vachis
* renamed word Root added
***************
*** 37,39 ****
* new interfaces for getting roots and info
*
! */
\ No newline at end of file
--- 45,47 ----
* new interfaces for getting roots and info
*
! */
Index: HasTypeRoot.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/HasTypeRoot.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** HasTypeRoot.java 27 Jul 2002 22:25:17 -0000 1.1
--- HasTypeRoot.java 12 Sep 2002 13:00:13 -0000 1.2
***************
*** 22,29 ****
/**
! *
* @author Pavel Vacha
*/
public interface HasTypeRoot {
public TypeRef getType();
}
--- 22,33 ----
/**
! * This interface is inherited by all objects that contain information
! * about some type. It is used to weaken the need to typecast in some cases.
* @author Pavel Vacha
*/
public interface HasTypeRoot {
+ /**
+ * Returns the type.
+ */
public TypeRef getType();
}
***************
*** 31,34 ****
--- 35,42 ----
/*
* $Log$
+ * Revision 1.2 2002/09/12 13:00:13 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.1 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 38,40 ****
* new interfaces for getting roots and info
*
! */
\ No newline at end of file
--- 46,48 ----
* new interfaces for getting roots and info
*
! */
Index: LocationRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/LocationRef.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** LocationRef.java 24 Jul 2002 22:27:13 -0000 1.1
--- LocationRef.java 12 Sep 2002 13:00:13 -0000 1.2
***************
*** 22,29 ****
/**
! *
* @author Pavel Vacha
*/
public interface LocationRef {
MethodRef getMethod();
}
--- 22,33 ----
/**
! * Location is common term for trace or method.
* @author Pavel Vacha
*/
+
public interface LocationRef {
+ /**
+ * Returns the method associated with this location.
+ */
MethodRef getMethod();
}
***************
*** 31,36 ****
/*
* $Log$
* Revision 1.1 2002/07/24 22:27:13 vachis
* new interfaces for getting roots and info
*
! */
\ No newline at end of file
--- 35,44 ----
/*
* $Log$
+ * Revision 1.2 2002/09/12 13:00:13 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.1 2002/07/24 22:27:13 vachis
* new interfaces for getting roots and info
*
! */
Index: MethodRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/MethodRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** MethodRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- MethodRef.java 12 Sep 2002 13:00:13 -0000 1.7
***************
*** 25,46 ****
public interface MethodRef extends CPUStat, AllocStat, MonStat, LocationRef,
HasLocationRoot, HasChildren {
String getName();
String getSignature();
int getStartLineNo();
int getEndLineNo();
ClassRef getParentClass();
!
List getCPUTraces();
List getAllocTraces();
List getMonTraces();
List getCPUThreadMethods();
CPUThreadMethodRef getCPUThreadMethod( ThreadRef peer);
List getAllocThreadMethods();
AllocThreadMethodRef getAllocThreadMethod( ThreadRef peer);
List getMonThreadMethods();
MonThreadMethodRef getMonThreadMethod( ThreadRef peer);
List getAllocTypeMethods();
AllocTypeMethodRef getAllocTypeMethod( TypeRef peer);
!
VirtualMachineImageRef getVirtualMachineImage();
}
--- 25,122 ----
public interface MethodRef extends CPUStat, AllocStat, MonStat, LocationRef,
HasLocationRoot, HasChildren {
+
+ /**
+ * Returns the name of the method.
+ */
String getName();
+
+ /**
+ * Returns the signature of this method.
+ */
String getSignature();
+
+ /**
+ * Returns the source code line number of the beginning of the definition of
+ * this method.
+ */
int getStartLineNo();
+
+ /**
+ * Returns the source code line number of the end of the definition of
+ * this method.
+ */
int getEndLineNo();
+
+ /**
+ * Returns the class this method belongs to.
+ */
ClassRef getParentClass();
!
! /**
! * Returns the list of related CPU traces.
! */
List getCPUTraces();
+
+ /**
+ * Returns the list of related allocation traces.
+ */
List getAllocTraces();
+
+ /**
+ * Returns the list of related monitor traces.
+ */
List getMonTraces();
+
+ /**
+ * Returns the list of objects containing CPU related information
+ * about this method and different threads.
+ */
List getCPUThreadMethods();
+
+ /**
+ * Returns the list of objects containing CPU related information
+ * about this method and the specified thread.
+ */
CPUThreadMethodRef getCPUThreadMethod( ThreadRef peer);
+
+ /**
+ * Returns the list of objects containing memory related information
+ * about this method and different threads.
+ */
List getAllocThreadMethods();
+
+ /**
+ * Returns the list of objects containing memory related information
+ * about this method and the specified thread.
+ */
AllocThreadMethodRef getAllocThreadMethod( ThreadRef peer);
+
+ /**
+ * Returns the list of objects containing monitor related information
+ * about this method and different threads.
+ */
List getMonThreadMethods();
+
+ /**
+ * Returns the list of objects containing monitor related information
+ * about this method and the specified thread.
+ */
MonThreadMethodRef getMonThreadMethod( ThreadRef peer);
+
+ /**
+ * Returns the list of objects containing memory related information
+ * about this method and different types.
+ */
List getAllocTypeMethods();
+
+ /**
+ * Returns the list of objects containing CPU related information
+ * about this method and different threads.
+ */
AllocTypeMethodRef getAllocTypeMethod( TypeRef peer);
!
! /**
! * Returns the image this method belongs to.
! */
VirtualMachineImageRef getVirtualMachineImage();
}
***************
*** 48,51 ****
--- 124,131 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:13 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 58,60 ****
* License added.
*
! */
\ No newline at end of file
--- 138,140 ----
* License added.
*
! */
Index: MonThreadMethodRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/MonThreadMethodRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** MonThreadMethodRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- MonThreadMethodRef.java 12 Sep 2002 13:00:13 -0000 1.7
***************
*** 23,34 ****
import java.util.List;
public interface MonThreadMethodRef extends MonStat, HasThreadRoot,
HasLocationRoot, HasChildren {
CPUThreadMethodRef getSiblingCPU();
AllocThreadMethodRef getSiblingAlloc();
!
List getMonThreadTraces();
!
ThreadRef getThread();
MethodRef getMethod();
}
--- 23,57 ----
import java.util.List;
+ /**
+ * Contains monitor related information about method and thread.
+ */
+
public interface MonThreadMethodRef extends MonStat, HasThreadRoot,
HasLocationRoot, HasChildren {
+ /**
+ * Returns the object that contains CPU related information about
+ * this threadmethod.
+ */
CPUThreadMethodRef getSiblingCPU();
+
+ /**
+ * Returns the object that contains memory related information about
+ * this threadmethod.
+ */
AllocThreadMethodRef getSiblingAlloc();
!
! /**
! * Returns the list of related threadtraces.
! */
List getMonThreadTraces();
!
! /**
! * Returns the parent thread.
! */
ThreadRef getThread();
+
+ /**
+ * Returns the parent method.
+ */
MethodRef getMethod();
}
***************
*** 36,39 ****
--- 59,66 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:13 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 46,48 ****
* License added.
*
! */
\ No newline at end of file
--- 73,75 ----
* License added.
*
! */
Index: MonThreadTraceRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/MonThreadTraceRef.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** MonThreadTraceRef.java 27 Jul 2002 22:25:17 -0000 1.5
--- MonThreadTraceRef.java 12 Sep 2002 13:00:13 -0000 1.6
***************
*** 23,32 ****
import java.util.List;
public interface MonThreadTraceRef extends MonStat, HasThreadRoot, HasLocationRoot {
CPUThreadTraceRef getSiblingCPU();
AllocThreadTraceRef getSiblingAlloc();
!
MonThreadMethodRef getMonThreadMethod();
ThreadRef getThread();
MonTraceRef getMonTrace();
}
--- 23,55 ----
import java.util.List;
+ /**
+ * Contains monitor related information about trace and thread.
+ */
public interface MonThreadTraceRef extends MonStat, HasThreadRoot, HasLocationRoot {
+ /**
+ * Returns the object that contains CPU related information about
+ * this threadtrace.
+ */
CPUThreadTraceRef getSiblingCPU();
+
+ /**
+ * Returns the object that contains memory related information about
+ * this threadtrace.
+ */
AllocThreadTraceRef getSiblingAlloc();
!
! /**
! * Returns the related threadmethod.
! */
MonThreadMethodRef getMonThreadMethod();
+
+ /**
+ * Returns the parent thread.
+ */
ThreadRef getThread();
+
+ /**
+ * Returns the parent method.
+ */
MonTraceRef getMonTrace();
}
***************
*** 34,37 ****
--- 57,64 ----
/*
* $Log$
+ * Revision 1.6 2002/09/12 13:00:13 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.5 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 44,46 ****
* License added.
*
! */
\ No newline at end of file
--- 71,73 ----
* License added.
*
! */
Index: MonTraceRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/MonTraceRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** MonTraceRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- MonTraceRef.java 12 Sep 2002 13:00:13 -0000 1.7
***************
*** 23,32 ****
--- 23,54 ----
import java.util.List;
+ /**
+ * Contains monitor related information about trace.
+ */
+
public interface MonTraceRef extends MonStat, TraceRef, HasLocationRoot,
HasChildren{
+ /**
+ * Returns the object that contains CPU related information about
+ * this trace.
+ */
CPUTraceRef getSiblingCPU();
+
+ /**
+ * Returns the object that contains memory related information about
+ * this trace.
+ */
AllocTraceRef getSiblingAlloc();
+ /**
+ * Returns the list of objects that contain monitor related information
+ * about different threads and this trace.
+ */
List getMonThreadTraces();
+
+ /**
+ * Returns the list of objects that contain monitor related information
+ * about specified thread and this trace.
+ */
MonThreadTraceRef getMonThreadTrace( ThreadRef peer);
}
***************
*** 34,37 ****
--- 56,63 ----
/*
* $Log$
+ * Revision 1.7 2002/09/12 13:00:13 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.6 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 44,46 ****
* License added.
*
! */
\ No newline at end of file
--- 70,72 ----
* License added.
*
! */
Index: ThreadGroupRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/ThreadGroupRef.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** ThreadGroupRef.java 27 Jul 2002 22:25:17 -0000 1.5
--- ThreadGroupRef.java 12 Sep 2002 13:00:13 -0000 1.6
***************
*** 23,29 ****
import java.util.List;
public interface ThreadGroupRef extends HasChildren {
String getName();
!
List getThreads();
}
--- 23,39 ----
import java.util.List;
+ /**
+ * This interface contains information about threadgroups. The structure of threadgroups
+ * in JPI is flat, not hierarchical like in JVM.
+ */
public interface ThreadGroupRef extends HasChildren {
+ /**
+ * Returns the name of the thread.
+ */
String getName();
! /**
! * Returns the list of thread in this group. You can register children
! * listener to get events about new threads.
! */
List getThreads();
}
***************
*** 31,34 ****
--- 41,48 ----
/*
* $Log$
+ * Revision 1.6 2002/09/12 13:00:13 michalpise
+ *
+ * Javadoc update.
+ *
* Revision 1.5 2002/07/27 22:25:17 vachis
* Has... interfaces renamed (word Root aded)
***************
*** 38,40 ****
* License added.
*
! */
\ No newline at end of file
--- 52,54 ----
* License added.
*
! */
Index: ThreadRef.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/ThreadRef.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** ThreadRef.java 27 Jul 2002 22:25:17 -0000 1.6
--- ThreadRef.java 12 Sep 2002 13:00:13 -0000 1.7
***************
*** 24,52 ****
import java.util.Date;
public interface ThreadRef extends CPUStat, AllocStat, MonStat, HasThreadRoot,
HasChildren {
String getName();
ThreadRef getParentThread();
List getChildThreads();
CallTreeRef getCallTree();
Date getStartTime();
Date getEndTime();
!
List getCPUThreadMethods();
CPUThreadMethodRef getCPUThreadMethod( MethodRef peer);
List getCPUThreadTraces();
CPUThreadTraceRef getCPUThreadTrace( CPUTraceRef peer);
List getAllocThreadMethods();
AllocThreadMethodRef getAllocThreadMethod( MethodRef peer);
List getAllocThreadTraces();
AllocThreadTraceRef getAllocThreadTrace( AllocTraceRef peer);
List getMonThreadMethods();
MonThreadMethodRef getMonThreadMethod( MethodRef peer);
List getMonThreadTraces();
MonThreadTraceRef getMonThreadTrace( MonTraceRef peer);
List getAllocTypeThreads();
AllocTypeThreadRef getAllocTypeThread( TypeRef peer);
!
ThreadGroupRef getThreadGroup();
VirtualMachineImageRef getVirtualMachineImage();
}
--- 24,155 ----
import java.util.Date;
+ /**
+ * Contains information about thread.
+ */
public interface ThreadRef extends CPUStat, AllocStat, MonStat, HasThreadRoot,
HasChildren {
+ /**
+ * Returns the name of the thread.
+ */
String getName();
+
+ /**
+ * Returns the parent thread reference. Parent thread is the thread that started this
+ * thread.
+ */
ThreadRef getParentThread();
+
+ /**
+ * Returns the list of children threads.
+ */
List getChildThreads();
+
+ /**
+ * Ret...
[truncated message content] |