Package org.apache.solr.bench
Class MiniClusterState
- java.lang.Object
-
- org.apache.solr.bench.MiniClusterState
-
public class MiniClusterState extends Object
The base class for Solr JMH benchmarks that operate against aMiniSolrCloudCluster
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MiniClusterState.MiniClusterBenchState
The type Mini cluster bench state.
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEBUG_OUTPUT
The constant DEBUG_OUTPUT.static int
PROC_COUNT
The constant PROC_COUNT.
-
Constructor Summary
Constructors Constructor Description MiniClusterState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static File
getFile(String name)
Gets file.static ModifiableSolrParams
params(String... moreParams)
Params modifiable solr params.static ModifiableSolrParams
params(ModifiableSolrParams params, String... moreParams)
Params modifiable solr params.
-
-
-
Field Detail
-
DEBUG_OUTPUT
public static final boolean DEBUG_OUTPUT
The constant DEBUG_OUTPUT.- See Also:
- Constant Field Values
-
PROC_COUNT
public static final int PROC_COUNT
The constant PROC_COUNT.
-
-
Method Detail
-
params
public static ModifiableSolrParams params(String... moreParams)
Params modifiable solr params.- Parameters:
moreParams
- the more params- Returns:
- the modifiable solr params
-
params
public static ModifiableSolrParams params(ModifiableSolrParams params, String... moreParams)
Params modifiable solr params.- Parameters:
params
- the paramsmoreParams
- the more params- Returns:
- the modifiable solr params
-
-