|
GridGain 2.1.0
Java API Specification |
|||||||||
| 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.
See Also:
Documentation
Email Support
Online Forums
Issue Tracking
Author: 2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.1.0

| Enum Constant Summary | |
|---|---|
GRID_CONFIG
Name of VM parameter to specify path to GridGain configuration used to run distributed JUnits. |
|
GRID_DISABLED
Name of VM parameter to disable grid. |
|
GRID_NAME
Name of VM parameter that specifies name of the grid started for distributed junits. |
|
GRID_ROUTER_PREFER_REMOTE
Name of VM parameter to specify whether tests should be preferably routed to remote nodes. |
|
GRID_TEST_ROUTER
Name of VM parameter to specify full class name of JUnit router. |
|
GRID_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're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GridTestVmParameters GRID_DISABLED
For example, the parameter "-DGRID_DISABLED=true" will disable grid and force all tests to execute locally.
public static final GridTestVmParameters GRID_TEST_ROUTER
GridTestRouterAdapter name is used.
For example, the parameter "-DGRID_JUNIT_ROUTER=foo.bar.MyJunitRouter" will specify a custom JUnit router. The specified router muster have an empty constructor.
public static final GridTestVmParameters GRID_CONFIG
For example, the parameter "-DGRID_JUNIT_CONFIG="c:/foo/bar/mygrid-spring.xml" overrides the default configuration path.
public static final GridTestVmParameters GRID_TEST_TIMEOUT
public static final GridTestVmParameters GRID_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 "-DGRID_ROUTER_PERFER_REMOTE=true" will tell the router to prefer remote nodes for execution.
public static final GridTestVmParameters GRID_NAME
| Method Detail |
|---|
public static final 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 namename - the name of the enum constant to be returned.
|
GridGain 2.1.0
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
|
GridGain - Grid Computing Made Simple, ver. 2.1.0.19122008
2005-2008 Copyright © GridGain Systems. All Rights Reserved. |
|
|