You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2012/01/25 11:38:48 UTC
svn commit: r1235713 -
/lucene/dev/branches/branch_3x/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/PerfTask.java
Author: shaie
Date: Wed Jan 25 10:38:48 2012
New Revision: 1235713
URL: http://svn.apache.org/viewvc?rev=1235713&view=rev
Log:
minor jdoc fixes for PerfTask
Modified:
lucene/dev/branches/branch_3x/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/PerfTask.java
Modified: lucene/dev/branches/branch_3x/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/PerfTask.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/PerfTask.java?rev=1235713&r1=1235712&r2=1235713&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/PerfTask.java (original)
+++ lucene/dev/branches/branch_3x/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/PerfTask.java Wed Jan 25 10:38:48 2012
@@ -199,9 +199,6 @@ public abstract class PerfTask implement
return new String(c);
}
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
@Override
public String toString() {
String padd = getPadding();
@@ -248,22 +245,23 @@ public abstract class PerfTask implement
}
/**
- * Task setup work that should not be measured for that specific task.
- * By default it does nothing, but tasks can implement this, moving work from
- * doLogic() to this method. Only the work done in doLogicis measured for this task.
- * Notice that higher level (sequence) tasks containing this task would then
- * measure larger time than the sum of their contained tasks.
- * @throws Exception
+ * Task setup work that should not be measured for that specific task. By
+ * default it does nothing, but tasks can implement this, moving work from
+ * {@link #doLogic()} to this method. Only the work done in {@link #doLogic()}
+ * is measured for this task. Notice that higher level (sequence) tasks
+ * containing this task would then measure larger time than the sum of their
+ * contained tasks.
*/
public void setup () throws Exception {
}
-
+
/**
- * Task tearDown work that should not be measured for that specific task.
- * By default it does nothing, but tasks can implement this, moving work from
- * doLogic() to this method. Only the work done in doLogicis measured for this task.
- * Notice that higher level (sequence) tasks containing this task would then
- * measure larger time than the sum of their contained tasks.
+ * Task tearDown work that should not be measured for that specific task. By
+ * default it does nothing, but tasks can implement this, moving work from
+ * {@link #doLogic()} to this method. Only the work done in {@link #doLogic()}
+ * is measured for this task. Notice that higher level (sequence) tasks
+ * containing this task would then measure larger time than the sum of their
+ * contained tasks.
*/
public void tearDown() throws Exception {
if (++logStepCount % logStep == 0) {
@@ -274,16 +272,20 @@ public abstract class PerfTask implement
}
/**
- * Sub classes that supports parameters must override this method to return true.
+ * Sub classes that support parameters must override this method to return
+ * true.
+ *
* @return true iff this task supports command line params.
*/
public boolean supportsParams () {
return false;
}
-
+
/**
* Set the params of this task.
- * @exception UnsupportedOperationException for tasks supporting command line parameters.
+ *
+ * @exception UnsupportedOperationException
+ * for tasks supporting command line parameters.
*/
public void setParams(String params) {
if (!supportsParams()) {