Correct Javadoc build problems
Javadoc requires using HTML entities for certain characters, or else they result in build errors. Change-Id: Ie2f3b4b7636d07d95a8828a05401389fb718840f
This commit is contained in:
@@ -18,8 +18,8 @@ package com.google.gerrit.metrics;
|
||||
* Metric whose value is supplied when the trigger is invoked.
|
||||
*
|
||||
* <pre>
|
||||
* CallbackMetric0<Long> hits = metricMaker.newCallbackMetric("hits", ...);
|
||||
* CallbackMetric0<Long> total = metricMaker.newCallbackMetric("total", ...);
|
||||
* CallbackMetric0<Long> hits = metricMaker.newCallbackMetric("hits", ...);
|
||||
* CallbackMetric0<Long> total = metricMaker.newCallbackMetric("total", ...);
|
||||
* metricMaker.newTrigger(hits, total, new Runnable() {
|
||||
* public void run() {
|
||||
* hits.set(1);
|
||||
|
||||
@@ -35,7 +35,7 @@ public abstract class Counter0 implements RegistrationHandle {
|
||||
/**
|
||||
* Increment the counter by a specified amount.
|
||||
*
|
||||
* @param value value to increment by, must be >= 0.
|
||||
* @param value value to increment by, must be >= 0.
|
||||
*/
|
||||
public abstract void incrementBy(long value);
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ public abstract class Counter1<F1> implements RegistrationHandle {
|
||||
* Increment the counter by a specified amount.
|
||||
*
|
||||
* @param field1 bucket to increment.
|
||||
* @param value value to increment by, must be >= 0.
|
||||
* @param value value to increment by, must be >= 0.
|
||||
*/
|
||||
public abstract void incrementBy(F1 field1, long value);
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ public abstract class Counter2<F1, F2> implements RegistrationHandle {
|
||||
*
|
||||
* @param field1 bucket to increment.
|
||||
* @param field2 bucket to increment.
|
||||
* @param value value to increment by, must be >= 0.
|
||||
* @param value value to increment by, must be >= 0.
|
||||
*/
|
||||
public abstract void incrementBy(F1 field1, F2 field2, long value);
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ public abstract class Counter3<F1, F2, F3> implements RegistrationHandle {
|
||||
* @param field1 bucket to increment.
|
||||
* @param field2 bucket to increment.
|
||||
* @param field3 bucket to increment.
|
||||
* @param value value to increment by, must be >= 0.
|
||||
* @param value value to increment by, must be >= 0.
|
||||
*/
|
||||
public abstract void incrementBy(F1 field1, F2 field2, F3 field3, long value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user