@Retention(value=RUNTIME)
@Target(value=TYPE)
public static @interface ESIntegTestCase.ClusterScope
ESIntegTestCase
subclass.
By default if no ESIntegTestCase.ClusterScope
annotation is present ESIntegTestCase.Scope.SUITE
is used
together with randomly chosen settings like number of nodes etc.Modifier and Type | Optional Element and Description |
---|---|
int |
maxNumDataNodes
Returns the maximum number of nodes in the cluster.
|
int |
minNumDataNodes
Returns the minimum number of nodes in the cluster.
|
int |
numClientNodes
Returns the number of client nodes in the cluster.
|
int |
numDataNodes
Returns the number of nodes in the cluster.
|
boolean |
randomDynamicTemplates
Return whether or not to enable dynamic templates for the mappings.
|
ESIntegTestCase.Scope |
scope
Returns the scope.
|
double |
transportClientRatio
Returns the transport client ratio.
|
public abstract ESIntegTestCase.Scope scope
ESIntegTestCase.Scope.SUITE
is default.public abstract int numDataNodes
public abstract int minNumDataNodes
numDataNodes()
is set.public abstract int maxNumDataNodes
numDataNodes()
is set.public abstract int numClientNodes
InternalTestCluster.DEFAULT_NUM_CLIENT_NODES
, a
negative value means that the number of client nodes will be randomized.