@@ -1352,7 +1352,7 @@ public void indexRandom(boolean forceRefresh, boolean dummyDocuments, IndexReque
1352
1352
* segment or if only one document is in a segment etc. This method prevents issues like this by randomizing the index
1353
1353
* layout.
1354
1354
*
1355
- * @param forceRefresh if <tt> true</tt> all involved indices are refreshed once the documents are indexed. Additionally if <tt> true</tt>
1355
+ * @param forceRefresh if {@code true} all involved indices are refreshed once the documents are indexed. Additionally if {@code true}
1356
1356
* some empty dummy documents are may be randomly inserted into the document list and deleted once all documents are indexed.
1357
1357
* This is useful to produce deleted documents on the server side.
1358
1358
* @param builders the documents to index.
@@ -1369,8 +1369,8 @@ public void indexRandom(boolean forceRefresh, List<IndexRequestBuilder> builders
1369
1369
* segment or if only one document is in a segment etc. This method prevents issues like this by randomizing the index
1370
1370
* layout.
1371
1371
*
1372
- * @param forceRefresh if <tt> true</tt> all involved indices are refreshed once the documents are indexed.
1373
- * @param dummyDocuments if <tt> true</tt> some empty dummy documents may be randomly inserted into the document list and deleted once
1372
+ * @param forceRefresh if {@code true} all involved indices are refreshed once the documents are indexed.
1373
+ * @param dummyDocuments if {@code true} some empty dummy documents may be randomly inserted into the document list and deleted once
1374
1374
* all documents are indexed. This is useful to produce deleted documents on the server side.
1375
1375
* @param builders the documents to index.
1376
1376
*/
@@ -1385,10 +1385,10 @@ public void indexRandom(boolean forceRefresh, boolean dummyDocuments, List<Index
1385
1385
* segment or if only one document is in a segment etc. This method prevents issues like this by randomizing the index
1386
1386
* layout.
1387
1387
*
1388
- * @param forceRefresh if <tt> true</tt> all involved indices are refreshed once the documents are indexed.
1389
- * @param dummyDocuments if <tt> true</tt> some empty dummy documents may be randomly inserted into the document list and deleted once
1388
+ * @param forceRefresh if {@code true} all involved indices are refreshed once the documents are indexed.
1389
+ * @param dummyDocuments if {@code true} some empty dummy documents may be randomly inserted into the document list and deleted once
1390
1390
* all documents are indexed. This is useful to produce deleted documents on the server side.
1391
- * @param maybeFlush if <tt> true</tt> this method may randomly execute full flushes after index operations.
1391
+ * @param maybeFlush if {@code true} this method may randomly execute full flushes after index operations.
1392
1392
* @param builders the documents to index.
1393
1393
*/
1394
1394
public void indexRandom (boolean forceRefresh , boolean dummyDocuments , boolean maybeFlush , List <IndexRequestBuilder > builders ) throws InterruptedException , ExecutionException {
@@ -1554,27 +1554,27 @@ public enum Scope {
1554
1554
Scope scope () default Scope .SUITE ;
1555
1555
1556
1556
/**
1557
- * Returns the number of nodes in the cluster. Default is <tt>-1</tt> which means
1557
+ * Returns the number of nodes in the cluster. Default is {@code -1} which means
1558
1558
* a random number of nodes is used, where the minimum and maximum number of nodes
1559
1559
* are either the specified ones or the default ones if not specified.
1560
1560
*/
1561
1561
int numDataNodes () default -1 ;
1562
1562
1563
1563
/**
1564
- * Returns the minimum number of data nodes in the cluster. Default is <tt>-1</tt> .
1564
+ * Returns the minimum number of data nodes in the cluster. Default is {@code -1} .
1565
1565
* Ignored when {@link ClusterScope#numDataNodes()} is set.
1566
1566
*/
1567
1567
int minNumDataNodes () default -1 ;
1568
1568
1569
1569
/**
1570
- * Returns the maximum number of data nodes in the cluster. Default is <tt>-1</tt> .
1570
+ * Returns the maximum number of data nodes in the cluster. Default is {@code -1} .
1571
1571
* Ignored when {@link ClusterScope#numDataNodes()} is set.
1572
1572
*/
1573
1573
int maxNumDataNodes () default -1 ;
1574
1574
1575
1575
/**
1576
- * Indicates whether the cluster can have dedicated master nodes. If <tt> false</tt> means data nodes will serve as master nodes
1577
- * and there will be no dedicated master (and data) nodes. Default is <tt>true</tt> which means
1576
+ * Indicates whether the cluster can have dedicated master nodes. If {@code false} means data nodes will serve as master nodes
1577
+ * and there will be no dedicated master (and data) nodes. Default is {@code false} which means
1578
1578
* dedicated master nodes will be randomly used.
1579
1579
*/
1580
1580
boolean supportsDedicatedMasters () default true ;
@@ -1703,7 +1703,7 @@ private int getNumClientNodes() {
1703
1703
}
1704
1704
1705
1705
/**
1706
- * This method is used to obtain settings for the <tt>Nth</tt> node in the cluster.
1706
+ * This method is used to obtain settings for the {@code N}th node in the cluster.
1707
1707
* Nodes in this cluster are associated with an ordinal number such that nodes can
1708
1708
* be started with specific configurations. This method might be called multiple
1709
1709
* times with the same ordinal and is expected to return the same value for each invocation.
@@ -1878,15 +1878,15 @@ public Collection<Class<? extends Plugin>> transportClientPlugins() {
1878
1878
1879
1879
/**
1880
1880
* Iff this returns true mock transport implementations are used for the test runs. Otherwise not mock transport impls are used.
1881
- * The default is <tt> true</tt>
1881
+ * The default is {@code true}.
1882
1882
*/
1883
1883
protected boolean addMockTransportService () {
1884
1884
return true ;
1885
1885
}
1886
1886
1887
1887
/**
1888
1888
* Iff this returns true test zen discovery implementations is used for the test runs.
1889
- * The default is <tt> true</tt>
1889
+ * The default is {@code true}.
1890
1890
*/
1891
1891
protected boolean addTestZenDiscovery () {
1892
1892
return true ;
@@ -1957,7 +1957,7 @@ private static double transportClientRatio() {
1957
1957
/**
1958
1958
* Returns the transport client ratio from the class level annotation or via
1959
1959
* {@link System#getProperty(String)} if available. If both are not available this will
1960
- * return a random ratio in the interval <tt> [0..1]</tt>
1960
+ * return a random ratio in the interval {@code [0..1]}.
1961
1961
*/
1962
1962
protected double getPerTestTransportClientRatio () {
1963
1963
final ClusterScope annotation = getAnnotation (this .getClass (), ClusterScope .class );
0 commit comments