Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data
In directory usw-pr-cvs1:/tmp/cvs-serv17795
Modified Files:
AllocThreadMethodData.java AllocThreadTraceData.java
AllocTraceData.java AllocTypeMethodData.java
AllocTypeThreadMethodData.java AllocTypeThreadTraceData.java
AllocTypeTraceData.java CPUThreadMethodData.java
CPUThreadTraceData.java CPUTraceData.java MethodData.java
MonThreadMethodData.java MonThreadTraceData.java
MonTraceData.java SnapshotImpl.java ThreadData.java
TypeData.java
Log Message:
implements new interfaces for getting roots and info
Index: AllocThreadMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocThreadMethodData.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** AllocThreadMethodData.java 12 Jun 2002 22:00:27 -0000 1.18
--- AllocThreadMethodData.java 24 Jul 2002 22:29:21 -0000 1.19
***************
*** 94,112 ****
}
! // ---------- return parents
! /**
! * Returns allocation data for this thread.
*
! * @return allocation data for this thread.
! */
public ThreadRef getThread() {
return thread;
}
! /**
! * Returns allocation data for this method.
*
! * @return allocation data for this method.
*/
public MethodRef getMethod() {
--- 94,111 ----
}
! // ---------- return parents, roots
! /** Returns Thread root which this instance belongs to.
*
! * @return ThreadRef root which this instance belongs to.
! */
public ThreadRef getThread() {
return thread;
}
! /*
! * Returns Method root which this instance belongs to.
*
! *@return MethodRef which this instance belongs to.
*/
public MethodRef getMethod() {
***************
*** 114,117 ****
--- 113,125 ----
}
+ /*
+ * Returns Location root which this instance belongs to.
+ *
+ *@return LocationRef which this instance belongs to.
+ */
+ public LocationRef getLocation() {
+ return getMethod();
+ }
+
// ---------- return child Lists
***************
*** 211,214 ****
--- 219,225 ----
/*
* $Log$
+ * Revision 1.19 2002/07/24 22:29:21 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.18 2002/06/12 22:00:27 vachis
* add/removeChildListeners - param String changed to int
Index: AllocThreadTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocThreadTraceData.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** AllocThreadTraceData.java 12 Jun 2002 22:00:27 -0000 1.18
--- AllocThreadTraceData.java 24 Jul 2002 22:29:21 -0000 1.19
***************
*** 84,88 ****
}
! // ---------- return parents
/**
--- 84,88 ----
}
! // ---------- return parents, roots
/**
***************
*** 95,116 ****
}
! /**
! * Returns allocation data for this trace.
*
! * @return allocation data for this trace.
! */
public AllocTraceRef getAllocTrace() {
return location;
}
! /**
! * Returns allocation data for this thread.
*
! * @return allocation data for this thread.
! */
public ThreadRef getThread() {
return getAllocThreadMethod().getThread();
}
// ---------- return child Lists
--- 95,123 ----
}
! /** Returns AllocTrace root which this instance belongs to.
*
! * @return AllocTraceRef root which this instance belongs to.
! */
public AllocTraceRef getAllocTrace() {
return location;
}
! /** Returns Thread root which this instance belongs to.
*
! * @return ThreadRef root which this instance belongs to.
! */
public ThreadRef getThread() {
return getAllocThreadMethod().getThread();
}
+ /*
+ * Returns Location root which this instance belongs to.
+ *
+ *@return LocationRef which this instance belongs to.
+ */
+ public LocationRef getLocation() {
+ return getAllocTrace();
+ }
+
// ---------- return child Lists
***************
*** 183,186 ****
--- 190,196 ----
/*
* $Log$
+ * Revision 1.19 2002/07/24 22:29:21 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.18 2002/06/12 22:00:27 vachis
* add/removeChildListeners - param String changed to int
Index: AllocTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTraceData.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** AllocTraceData.java 12 Jun 2002 22:00:28 -0000 1.22
--- AllocTraceData.java 24 Jul 2002 22:29:21 -0000 1.23
***************
*** 128,131 ****
--- 128,141 ----
}
+ // -------------- roots
+
+ /** Returns Location root which this instance belongs to.
+ *
+ *@return this
+ */
+ public LocationRef getLocation() {
+ return this;
+ }
+
// -------------- children lists getter methods
***************
*** 234,242 ****
public void removeChildrenListener(int type, ChildrenListener listener) {
}
!
}
/*
* $Log$
* Revision 1.22 2002/06/12 22:00:28 vachis
* add/removeChildListeners - param String changed to int
--- 244,255 ----
public void removeChildrenListener(int type, ChildrenListener listener) {
}
!
}
/*
* $Log$
+ * Revision 1.23 2002/07/24 22:29:21 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.22 2002/06/12 22:00:28 vachis
* add/removeChildListeners - param String changed to int
Index: AllocTypeMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTypeMethodData.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** AllocTypeMethodData.java 12 Jun 2002 22:00:28 -0000 1.8
--- AllocTypeMethodData.java 24 Jul 2002 22:29:22 -0000 1.9
***************
*** 98,107 ****
}
! // ---------- return parents
/**
! * Returns allocation data for this type.
*
! * @return allocation data for this type.
*/
public TypeRef getType() {
--- 98,107 ----
}
! // ---------- return parents, roots
/**
! * Returns Type root which this instance belongs to.
*
! *@return TypeRef root which this instance belongs to.
*/
public TypeRef getType() {
***************
*** 109,120 ****
}
! /**
! * Returns allocation data for this method.
*
! * @return allocation data for this method.
*/
public MethodRef getMethod() {
return location;
! }
// ---------- return child Lists
--- 109,129 ----
}
! /*
! * Returns Method which this instance belongs to.
*
! *@return MethodRef which this instance belongs to.
*/
public MethodRef getMethod() {
return location;
! }
!
! /*
! * Returns Location root which this instance belongs to.
! *
! *@return LocationRef which this instance belongs to.
! */
! public LocationRef getLocation() {
! return getMethod();
! }
// ---------- return child Lists
***************
*** 194,197 ****
--- 203,209 ----
/*
* $Log$
+ * Revision 1.9 2002/07/24 22:29:22 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.8 2002/06/12 22:00:28 vachis
* add/removeChildListeners - param String changed to int
Index: AllocTypeThreadMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTypeThreadMethodData.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** AllocTypeThreadMethodData.java 12 Jun 2002 22:00:29 -0000 1.4
--- AllocTypeThreadMethodData.java 24 Jul 2002 22:29:22 -0000 1.5
***************
*** 152,168 ****
// ------------- roots
! /**
! * Returns allocation data for this thread (root object).
*
! * @return allocation data for this thread (root object).
! */
public ThreadRef getThread() {
return getAllocTypeThread().getThread();
}
! /**
! * Returns allocation data for this type (root object).
*
! * @return allocation data for this type (root object).
*/
public TypeRef getType() {
--- 152,167 ----
// ------------- roots
! /** Returns Thread root which this instance belongs to.
*
! * @return ThreadRef root which this instance belongs to.
! */
public ThreadRef getThread() {
return getAllocTypeThread().getThread();
}
! /*
! * Returns Type root which this instance belongs to.
*
! *@return TypeRef which this instance belongs to.
*/
public TypeRef getType() {
***************
*** 170,177 ****
}
! /**
! * Returns allocation data for this method (root object).
*
! * @return allocation data for this method (root object).
*/
public MethodRef getMethod() {
--- 169,176 ----
}
! /*
! * Returns Method root which this instance belongs to.
*
! *@return MethodRef which this instance belongs to.
*/
public MethodRef getMethod() {
***************
*** 179,182 ****
--- 178,190 ----
}
+ /*
+ * Returns Location root which this instance belongs to.
+ *
+ *@return LocationRef which this instance belongs to.
+ */
+ public LocationRef getLocation() {
+ return getMethod();
+ }
+
public String toString() {
return getType() + "-" + getThread() + "-" + getMethod();
***************
*** 193,196 ****
--- 201,207 ----
/*
* $Log$
+ * Revision 1.5 2002/07/24 22:29:22 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.4 2002/06/12 22:00:29 vachis
* add/removeChildListeners - param String changed to int
Index: AllocTypeThreadTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTypeThreadTraceData.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** AllocTypeThreadTraceData.java 30 May 2002 22:38:17 -0000 1.2
--- AllocTypeThreadTraceData.java 24 Jul 2002 22:29:22 -0000 1.3
***************
*** 109,138 ****
return threadTypeMethod.getAllocTypeThread();
}
!
! // ---------- return child Lists
!
// ------------- roots
! /**
! * Returns allocation data for this thread (root object).
*
! * @return allocation data for this thread (root object).
! */
public ThreadRef getThread() {
return getAllocTypeThread().getThread();
}
! /**
! * Returns allocation data for this type (root object).
*
! * @return allocation data for this type (root object).
! */
public TypeRef getType() {
return getAllocTypeThread().getType();
}
! /**
! * Returns allocation data for this trace (root object).
*
! * @return allocation data for this trace (root object).
*/
public AllocTraceRef getAllocTrace() {
--- 109,135 ----
return threadTypeMethod.getAllocTypeThread();
}
!
// ------------- roots
!
! /** Returns Thread root which this instance belongs to.
*
! * @return ThreadRef root which this instance belongs to.
! */
public ThreadRef getThread() {
return getAllocTypeThread().getThread();
}
! /** Returns Type root which this instance belongs to.
*
! * @return TypeRef root which this instance belongs to.
! */
public TypeRef getType() {
return getAllocTypeThread().getType();
}
! /*
! * Returns AllocTrace root which this instance belongs to.
*
! *@return AllocTraceRef which this instance belongs to.
*/
public AllocTraceRef getAllocTrace() {
***************
*** 140,143 ****
--- 137,151 ----
}
+ /*
+ * Returns Location root which this instance belongs to.
+ *
+ *@return LocationRef which this instance belongs to.
+ */
+ public LocationRef getLocation() {
+ return getAllocTrace();
+ }
+
+ // ---------- return child Lists
+
public String toString() {
return getType() + "-" + getThread() + "-" + getAllocTrace();
***************
*** 147,150 ****
--- 155,161 ----
/*
* $Log$
+ * Revision 1.3 2002/07/24 22:29:22 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.2 2002/05/30 22:38:17 vachis
* changed interface to jpi
Index: AllocTypeTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTypeTraceData.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** AllocTypeTraceData.java 12 Jun 2002 22:00:29 -0000 1.8
--- AllocTypeTraceData.java 24 Jul 2002 22:29:22 -0000 1.9
***************
*** 94,106 ****
}
- /**
- * Returns allocation data for this type.
- *
- * @return allocation data for this type.
- */
- public TypeRef getType() {
- return typeMethod.getType();
- }
-
/**
* Returns allocation data for this trace.
--- 94,97 ----
***************
*** 112,115 ****
--- 103,125 ----
}
+ // -------------- parents, roots
+
+ /** Returns Type root which this instance belongs to.
+ *
+ * @return TypeRef root which this instance belongs to.
+ */
+ public TypeRef getType() {
+ return typeMethod.getType();
+ }
+
+ /*
+ * Returns Location root which this instance belongs to.
+ *
+ *@return LocationRef which this instance belongs to.
+ */
+ public LocationRef getLocation() {
+ return getAllocTrace();
+ }
+
// ---------- return child Lists
***************
*** 159,162 ****
--- 169,175 ----
/*
* $Log$
+ * Revision 1.9 2002/07/24 22:29:22 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.8 2002/06/12 22:00:29 vachis
* add/removeChildListeners - param String changed to int
Index: CPUThreadMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUThreadMethodData.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** CPUThreadMethodData.java 12 Jun 2002 22:00:30 -0000 1.13
--- CPUThreadMethodData.java 24 Jul 2002 22:29:22 -0000 1.14
***************
*** 81,104 ****
}
! // ---------- return parents
! /**
! * Returns profiling data for this thread.
*
! * @return profiling data for this thread.
! */
public ThreadRef getThread() {
return thread;
}
! /**
! * Returns profiling data for this method.
*
! * @return profiling data for this method.
! */
public MethodRef getMethod() {
return location;
}
// ---------- return child Lists
--- 81,111 ----
}
! // ---------- return parents, roots
! /** Returns Thread root which this instance belongs to.
*
! * @return ThreadRef root which this instance belongs to.
! */
public ThreadRef getThread() {
return thread;
}
! /** Returns Method root which this instance belongs to.
*
! * @return MethodRef root which this instance belongs to.
! */
public MethodRef getMethod() {
return location;
}
+ /*
+ * Returns Location root which this instance belongs to.
+ *
+ *@return LocationRef which this instance belongs to.
+ */
+ public LocationRef getLocation() {
+ return getMethod();
+ }
+
// ---------- return child Lists
***************
*** 167,170 ****
--- 174,180 ----
/*
* $Log$
+ * Revision 1.14 2002/07/24 22:29:22 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.13 2002/06/12 22:00:30 vachis
* add/removeChildListeners - param String changed to int
Index: CPUThreadTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUThreadTraceData.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** CPUThreadTraceData.java 30 May 2002 22:38:17 -0000 1.9
--- CPUThreadTraceData.java 24 Jul 2002 22:29:22 -0000 1.10
***************
*** 65,69 ****
}
! // ---------- return parents
/**
--- 65,69 ----
}
! // ---------- return parents, roots
/**
***************
*** 76,84 ****
}
! /**
! * Returns profiling data for this trace.
*
! * @return profiling data for this trace.
! */
public CPUTraceRef getCPUTrace() {
return location;
--- 76,83 ----
}
! /** Returns CPUTrace root which this instance belongs to.
*
! * @return CPUTraceRef root which this instance belongs to.
! */
public CPUTraceRef getCPUTrace() {
return location;
***************
*** 86,98 ****
// ------------- roots
! /**
! * Returns allocation data for this thread (root object).
*
! * @return allocation data for this thread (root object).
! */
public ThreadRef getThread() {
return getCPUThreadMethod().getThread();
}
// ---------- return siblings
--- 85,106 ----
// ------------- roots
! /** Returns Thread root which this instance belongs to.
*
! * @return ThreadRef root which this instance belongs to.
! */
public ThreadRef getThread() {
return getCPUThreadMethod().getThread();
}
+ /*
+ * Returns Location root which this instance belongs to.
+ *
+ *@return LocationRef which this instance belongs to.
+ */
+ public LocationRef getLocation() {
+ return getCPUTrace();
+ }
+
+
// ---------- return siblings
***************
*** 125,128 ****
--- 133,139 ----
/*
* $Log$
+ * Revision 1.10 2002/07/24 22:29:22 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.9 2002/05/30 22:38:17 vachis
* changed interface to jpi
Index: CPUTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUTraceData.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** CPUTraceData.java 12 Jun 2002 22:00:30 -0000 1.16
--- CPUTraceData.java 24 Jul 2002 22:29:22 -0000 1.17
***************
*** 115,118 ****
--- 115,128 ----
}
+ // -------------- roots
+
+ /** Returns Location root which this instance belongs to.
+ *
+ *@return this
+ */
+ public LocationRef getLocation() {
+ return this;
+ }
+
// -------------- children lists getter methods
***************
*** 192,200 ****
public void removeChildrenListener(int type, ChildrenListener listener) {
}
!
}
/*
* $Log$
* Revision 1.16 2002/06/12 22:00:30 vachis
* add/removeChildListeners - param String changed to int
--- 202,213 ----
public void removeChildrenListener(int type, ChildrenListener listener) {
}
!
}
/*
* $Log$
+ * Revision 1.17 2002/07/24 22:29:22 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.16 2002/06/12 22:00:30 vachis
* add/removeChildListeners - param String changed to int
Index: MethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MethodData.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** MethodData.java 12 Jun 2002 22:00:30 -0000 1.19
--- MethodData.java 24 Jul 2002 22:29:22 -0000 1.20
***************
*** 239,242 ****
--- 239,259 ----
return vmImage;
}
+
+ // -------------- roots
+
+ /** Returns Location root which this instance belongs to.
+ *
+ *@return this
+ */
+ public LocationRef getLocation() {
+ return getMethod();
+ }
+
+
+ /** Returns methods which this instance belongs to. (this)
+ */
+ public MethodRef getMethod() {
+ return this;
+ }
// -------------- children lists getter methods
***************
*** 395,398 ****
--- 412,416 ----
public void removeChildrenListener(int type, ChildrenListener listener) {
}
+
}
***************
*** 400,403 ****
--- 418,424 ----
/*
* $Log$
+ * Revision 1.20 2002/07/24 22:29:22 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.19 2002/06/12 22:00:30 vachis
* add/removeChildListeners - param String changed to int
Index: MonThreadMethodData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonThreadMethodData.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** MonThreadMethodData.java 12 Jun 2002 22:00:31 -0000 1.10
--- MonThreadMethodData.java 24 Jul 2002 22:29:22 -0000 1.11
***************
*** 82,105 ****
}
! // ---------- return parents
! /**
! * Returns profiling data for this thread.
*
! * @return profiling data for this thread.
! */
public ThreadRef getThread() {
return thread;
}
! /**
! * Returns profiling data for this method.
*
! * @return profiling data for this method.
! */
public MethodRef getMethod() {
return location;
}
// ---------- return child Lists
--- 82,112 ----
}
! // ---------- return parents, roots
! /** Returns Thread root which this instance belongs to.
*
! * @return ThreadRef root which this instance belongs to.
! */
public ThreadRef getThread() {
return thread;
}
! /** Returns Method root which this instance belongs to.
*
! * @return MethodRef root which this instance belongs to.
! */
public MethodRef getMethod() {
return location;
}
+ /*
+ * Returns Location root which this instance belongs to.
+ *
+ *@return LocationRef which this instance belongs to.
+ */
+ public LocationRef getLocation() {
+ return getMethod();
+ }
+
// ---------- return child Lists
***************
*** 168,171 ****
--- 175,181 ----
/*
* $Log$
+ * Revision 1.11 2002/07/24 22:29:22 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.10 2002/06/12 22:00:31 vachis
* add/removeChildListeners - param String changed to int
Index: MonThreadTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonThreadTraceData.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** MonThreadTraceData.java 30 May 2002 22:38:17 -0000 1.7
--- MonThreadTraceData.java 24 Jul 2002 22:29:22 -0000 1.8
***************
*** 68,91 ****
}
! // ---------- return parents
! /**
! * Returns profiling data for this thread and method.
*
! * @return profiling data for this thread and method.
! */
public MonThreadMethodRef getMonThreadMethod() {
return threadMethod;
}
! /**
! * Returns profiling data for this trace.
*
! * @return profiling data for this trace.
! */
public MonTraceRef getMonTrace() {
return location;
}
// ------------- roots
/**
--- 68,99 ----
}
! // ---------- return parents, roots
! /** Returns Thread root which this instance belongs to.
*
! * @return ThreadRef root which this instance belongs to.
! */
public MonThreadMethodRef getMonThreadMethod() {
return threadMethod;
}
! /** Returns Method root which this instance belongs to.
*
! * @return MethodRef root which this instance belongs to.
! */
public MonTraceRef getMonTrace() {
return location;
}
+ /*
+ * Returns Location root which this instance belongs to.
+ *
+ *@return LocationRef which this instance belongs to.
+ */
+ public LocationRef getLocation() {
+ return getMonTrace();
+ }
+
+
// ------------- roots
/**
***************
*** 127,130 ****
--- 135,141 ----
/*
* $Log$
+ * Revision 1.8 2002/07/24 22:29:22 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.7 2002/05/30 22:38:17 vachis
* changed interface to jpi
Index: MonTraceData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonTraceData.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** MonTraceData.java 12 Jun 2002 22:00:31 -0000 1.14
--- MonTraceData.java 24 Jul 2002 22:29:22 -0000 1.15
***************
*** 115,118 ****
--- 115,129 ----
}
+
+ // -------------- roots
+
+ /** Returns Location root which this instance belongs to.
+ *
+ *@return this
+ */
+ public LocationRef getLocation() {
+ return this;
+ }
+
// -------------- children lists getter methods
***************
*** 192,196 ****
public void removeChildrenListener(int type, ChildrenListener listener) {
}
!
}
--- 203,207 ----
public void removeChildrenListener(int type, ChildrenListener listener) {
}
!
}
***************
*** 198,201 ****
--- 209,215 ----
/*
* $Log$
+ * Revision 1.15 2002/07/24 22:29:22 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.14 2002/06/12 22:00:31 vachis
* add/removeChildListeners - param String changed to int
Index: SnapshotImpl.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/SnapshotImpl.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** SnapshotImpl.java 17 Jul 2002 21:37:10 -0000 1.27
--- SnapshotImpl.java 24 Jul 2002 22:29:22 -0000 1.28
***************
*** 386,389 ****
--- 386,391 ----
if ( haveSnapshot )
throw new RuntimeException( "Can't create Snapshot, it already exists!");
+
+ time = System.currentTimeMillis();
long start = System.currentTimeMillis();
***************
*** 1132,1135 ****
--- 1134,1140 ----
/*
* $Log$
+ * Revision 1.28 2002/07/24 22:29:22 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.27 2002/07/17 21:37:10 vachis
* fixed exception handling
Index: ThreadData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/ThreadData.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** ThreadData.java 12 Jun 2002 22:00:31 -0000 1.23
--- ThreadData.java 24 Jul 2002 22:29:22 -0000 1.24
***************
*** 289,292 ****
--- 289,302 ----
}
+ // -------------- roots
+
+ /** Returns Thread root which this instance belongs to.
+ *
+ *@return this
+ */
+ public ThreadRef getThread() {
+ return this;
+ }
+
// -------------- children lists getter methods
***************
*** 524,527 ****
--- 534,540 ----
/*
* $Log$
+ * Revision 1.24 2002/07/24 22:29:22 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.23 2002/06/12 22:00:31 vachis
* add/removeChildListeners - param String changed to int
Index: TypeData.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/TypeData.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** TypeData.java 12 Jun 2002 22:00:32 -0000 1.4
--- TypeData.java 24 Jul 2002 22:29:22 -0000 1.5
***************
*** 188,191 ****
--- 188,201 ----
}
+ // -------------- roots
+
+ /** Returns Type root which this instance belongs to.
+ *
+ *@return this
+ */
+ public TypeRef getType() {
+ return this;
+ }
+
// -------------- children lists getter methods
***************
*** 289,292 ****
--- 299,305 ----
/*
* $Log$
+ * Revision 1.5 2002/07/24 22:29:22 vachis
+ * implements new interfaces for getting roots and info
+ *
* Revision 1.4 2002/06/12 22:00:32 vachis
* add/removeChildListeners - param String changed to int
|