|
GridGain 2.0.3
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gridgain.grid.test.GridTestRouterAdapter
public class GridTestRouterAdapter
Round-Robin implementation of GridTestRouter interface.
The implementation makes sure that nodes are assigned to tests
sequentially, one after another.
Note that if GridTestVmParameters.GRID_ROUTER_PREFER_REMOTE VM parameter
is set to true, then tests will be routed to remote nodes assuming there
are any. If there are no remote nodes, tests will be routed to local node.
See Also:
Documentation
Email Support
Online Forums
Issue Tracking
Author: 2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.0.3
![]() |
![]() |
| Constructor Summary | |
|---|---|
GridTestRouterAdapter()
|
|
| Method Summary | |
|---|---|
GridNode |
route(Class<?> test,
String name,
List<GridNode> subgrid,
UUID locNodeId)
Routes a test to a specific node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridTestRouterAdapter()
| Method Detail |
|---|
public 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.
route in interface GridTestRoutertest - 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. |
|