|
From: Michal P. <mic...@us...> - 2002-09-10 11:04:33
|
Update of /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi
In directory usw-pr-cvs1:/tmp/cvs-serv25085/net/sourceforge/javaprofiler/jpi
Modified Files:
MonStat.java
Log Message:
Javadoc.
Index: MonStat.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/MonStat.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** MonStat.java 2 Jul 2002 20:17:13 -0000 1.3
--- MonStat.java 10 Sep 2002 11:04:30 -0000 1.4
***************
*** 21,29 ****
--- 21,49 ----
package net.sourceforge.javaprofiler.jpi;
+ /**
+ * Interface representing object that contains monitor related information. It is often inherited
+ * by other interfaces.
+ */
public interface MonStat {
+
+ /**
+ * Returns the number of hits. For thorough explanation of the word "hit" please refer
+ * to the document named "JPI Tutorial".
+ */
long getMonHitsCount();
+
+ /**
+ * Returns the time (in miliseconds) spent waiting on this monitor.
+ */
long getMonPureTime();
+ /**
+ * Adds an event listener.
+ */
void addMonStatListener( MonStatListener listener);
+
+ /**
+ * Removes the specified event listener.
+ */
void removeMonStatListener( MonStatListener listener);
}
***************
*** 31,36 ****
/*
* $Log$
* Revision 1.3 2002/07/02 20:17:13 stolis
* License added.
*
! */
\ No newline at end of file
--- 51,60 ----
/*
* $Log$
+ * Revision 1.4 2002/09/10 11:04:30 michalpise
+ *
+ * Javadoc.
+ *
* Revision 1.3 2002/07/02 20:17:13 stolis
* License added.
*
! */
|