|
GridGain 2.0.3
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GridTestRouter
Optional router used to route individual tests to remote nodes for execution. Distributed JUnits can be instructed to use a specific implementation of this router in one of the following ways:
GridTestVmParameters.GRID_TEST_ROUTER VM parameterGridifyTest.routerClass() annotation method.GridJunit3TestSuite.setRouterClass(Class) method.GridTestRouterAdapter is used which routes tests to
grid nodes in round-robin fashion. Refer to GridTestRouterAdapter documentation for
more information.
Documentation
Email Support
Online Forums
Issue Tracking
Author: 2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.0.3
![]() |
![]() |
| Method Summary | |
|---|---|
GridNode |
route(Class<?> test,
String name,
List<GridNode> subgrid,
UUID locNodeId)
Routes a test to a specific node. |
| Method Detail |
|---|
GridNode route(Class<?> test,
String name,
List<GridNode> subgrid,
UUID locNodeId)
By default tests are routed to grid nodes in round-robin fashion.
Set GridTestVmParameters.GRID_ROUTER_PREFER_REMOTE VM parameter
to true to always route tests to remote nodes, assuming there are any.
If there are no remote nodes, then tests will still execute locally even
if this VM parameter is set.
test - Test class.name - Test name.subgrid - List of available grid nodes.locNodeId - Local node ID.
|
GridGain 2.0.3
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
GridGain - Grid Computing Made Simple, ver. 2.0.3.20052008
2005-2008 Copyright © GridGain Systems. All Rights Reserved. |
|