|
GridGain 3.6.0e
Enterprise Edition |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GridTestVmParameters>
org.gridgain.grid.test.GridTestVmParameters
public enum GridTestVmParameters
GridGain JUnit VM configuration parameters that can be used to
override defaults.Note that VM configuration parameters have priority
over the same configuration specified in @GridifyTest
annotation.
| Wiki | |
| Forum |

| Enum Constant Summary | |
|---|---|
GRIDGAIN_CONFIG
Name of VM parameter to specify path to GridGain configuration used to run distributed JUnits. |
|
GRIDGAIN_DISABLED
Name of VM parameter to disable grid. |
|
GRIDGAIN_NAME
Name of VM parameter that specifies name of the grid started for distributed junits. |
|
GRIDGAIN_ROUTER_PREFER_REMOTE
Name of VM parameter to specify whether tests should be preferably routed to remote nodes. |
|
GRIDGAIN_TEST_ROUTER
Name of VM parameter to specify full class name of JUnit router. |
|
GRIDGAIN_TEST_TIMEOUT
Optional timeout in milliseconds for distributed test suites. |
|
| Method Summary | |
|---|---|
static GridTestVmParameters |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GridTestVmParameters[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GridTestVmParameters GRIDGAIN_DISABLED
true or false. The default
value is false.
For example, the parameter "-DGRIDGAIN_GRIDGAIN_DISABLED=true" will
disable grid and force all tests to execute locally.
public static final GridTestVmParameters GRIDGAIN_TEST_ROUTER
GridTestRouterAdapter name is used.
For example, the parameter "-DGRIDGAIN_TEST_ROUTER=foo.bar.MyJunitRouter"
will specify a custom JUnit router. The specified router muster have an empty
constructor.
public static final GridTestVmParameters GRIDGAIN_CONFIG
"config/junit/junit-spring.xml"
is used.
For example, the parameter "-DGRIDGAIN_CONFIG="c:/foo/bar/mygrid-spring.xml"
overrides the default configuration path.
public static final GridTestVmParameters GRIDGAIN_TEST_TIMEOUT
"-DGRIDGAIN_TEST_TIMEOUT=600000" will
stop test suite execution after 10 minutes.
public static final GridTestVmParameters GRIDGAIN_ROUTER_PREFER_REMOTE
GridTestRouterAdapter which
will use remote nodes if there any, otherwise local node will still be used.
The value of this parameter is either true or false. For example,
the parameter "-DGRIDGAIN_ROUTER_PREFER_REMOTE=true" will tell the router
to prefer remote nodes for execution.
public static final GridTestVmParameters GRIDGAIN_NAME
| Method Detail |
|---|
public static GridTestVmParameters[] values()
for (GridTestVmParameters c : GridTestVmParameters.values()) System.out.println(c);
public static GridTestVmParameters valueOf(String name)
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullname - the name of the enum constant to be returned.
|
GridGain 3.6.0e
Enterprise Edition |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
|
GridGain - Real Time Big Data
|
|
|