This class defines a factory for the main GridGain API.
More...
#include <grid_factory.h>
|
| static Grid | Start (const GridConfiguration &cfg) |
| | Start grid instance. More...
|
| |
| static Grid | Start (const GridConfiguration &cfg, GridError *err) |
| | Start grid instance. More...
|
| |
| static Grid | Start (const GridConfiguration &cfg, const char *name) |
| | Start grid instance with specific name. More...
|
| |
| static Grid | Start (const GridConfiguration &cfg, const char *name, GridError *err) |
| | Start grid instance with specific name. More...
|
| |
| static Grid | Get () |
| | Get default grid instance. More...
|
| |
| static Grid | Get (GridError *err) |
| | Get default grid instance. More...
|
| |
| static Grid | Get (const char *name) |
| | Get grid instance with the given name. More...
|
| |
| static Grid | Get (const char *name, GridError *err) |
| | Get grid instance with the given name. More...
|
| |
| static bool | Stop (bool cancel) |
| | Stop default grid instance. More...
|
| |
| static bool | Stop (bool cancel, GridError *err) |
| | Stop default grid instance. More...
|
| |
| static bool | Stop (const char *name, bool cancel) |
| | Stop grid instance with the given name. More...
|
| |
| static bool | Stop (const char *name, bool cancel, GridError *err) |
| | Stop grid instance with the given name. More...
|
| |
| static void | StopAll (bool cancel) |
| | Stop all running grid instances. More...
|
| |
| static void | StopAll (bool cancel, GridError *err) |
| | Stop all running grid instances. More...
|
| |
This class defines a factory for the main GridGain API.
| Grid gridgain::GridFactory::Get |
( |
| ) |
|
|
static |
Get default grid instance.
- Returns
- Grid instance.
Get default grid instance.
- Parameters
-
- Returns
- Grid instance.
| Grid gridgain::GridFactory::Get |
( |
const char * |
name | ) |
|
|
static |
Get grid instance with the given name.
- Parameters
-
- Returns
- Grid instance.
| Grid gridgain::GridFactory::Get |
( |
const char * |
name, |
|
|
GridError * |
err |
|
) |
| |
|
static |
Get grid instance with the given name.
- Parameters
-
- Returns
- Grid instance.
Start grid instance.
- Parameters
-
- Returns
- Grid instance.
Start grid instance.
- Parameters
-
| cfg | Configuration. |
| err | Error. |
- Returns
- Grid instance.
Start grid instance with specific name.
- Parameters
-
| cfg | Configuration. |
| name | Grid name. |
- Returns
- Grid instance.
Start grid instance with specific name.
- Parameters
-
| cfg | Configuration. |
| name | Grid name. |
| err | Error. |
- Returns
- Grid instance.
| bool gridgain::GridFactory::Stop |
( |
bool |
cancel | ) |
|
|
static |
Stop default grid instance.
- Parameters
-
- Returns
- True if grid instance was stopped by this call.
| bool gridgain::GridFactory::Stop |
( |
bool |
cancel, |
|
|
GridError * |
err |
|
) |
| |
|
static |
Stop default grid instance.
- Parameters
-
| cancel | Cancel flag. |
| err | Error. |
- Returns
- True if grid instance was stopped by this call.
| bool gridgain::GridFactory::Stop |
( |
const char * |
name, |
|
|
bool |
cancel |
|
) |
| |
|
static |
Stop grid instance with the given name.
- Parameters
-
| name | Grid name. |
| cancel | Cancel flag. |
- Returns
- True if grid instance was stopped by this call.
| bool gridgain::GridFactory::Stop |
( |
const char * |
name, |
|
|
bool |
cancel, |
|
|
GridError * |
err |
|
) |
| |
|
static |
Stop grid instance with the given name.
- Parameters
-
| name | Grid name. |
| cancel | Cancel flag. |
| err | Error. |
- Returns
- True if grid instance was stopped by this call.
| void gridgain::GridFactory::StopAll |
( |
bool |
cancel | ) |
|
|
static |
Stop all running grid instances.
- Parameters
-
| void gridgain::GridFactory::StopAll |
( |
bool |
cancel, |
|
|
GridError * |
err |
|
) |
| |
|
static |
Stop all running grid instances.
- Parameters
-
| cancel | Cancel flag. |
| err | Error. |
The documentation for this class was generated from the following files: