GridGain C++ Client Library
Namespaces | Classes | Functions | Variables
gridgain Namespace Reference

GridGain API. More...

Namespaces

 cache
 GridGain Cache API.
 
 portable
 GridGain Portable Objects API.
 

Classes

class  Grid
 Main interface to operate with GridGain. More...
 
struct  GridConfiguration
 Grid configuration. More...
 
class  GridError
 Grid error information. More...
 
class  GridFactory
 This class defines a factory for the main GridGain API. More...
 
struct  GridJvmOption
 Single JVM option. More...
 
class  Guid
 Global universally unique identifier (GUID). More...
 

Functions

std::string JvmMemoryString (const std::string &prefix, int32_t val)
 Convert integer value to string.
 
char ** CreateJvmOptions (const GridConfiguration &cfg, const std::string *home, const std::string &cp, int *optsLen)
 Create JVM options. More...
 
bool operator== (Guid &val1, Guid &val2)
 

Variables

const char * GRID_DFLT_CFG = "config/default-config.xml"
 Default configuration. More...
 
bool JVM_LIB_LOADED
 Whether JVM library is loaded to the process. More...
 
CriticalSection factoryLock
 Critical section for factory methods. More...
 
bool started = false
 Flag indicating that at least one grid has started. More...
 

Detailed Description

GridGain API.

Function Documentation

char** gridgain::CreateJvmOptions ( const GridConfiguration &  cfg,
const std::string *  home,
const std::string &  cp,
int *  optsLen 
)

Create JVM options.

Parameters
cfgConfiguration.
homeOptional GG home.
cpClasspath.
optsOptions.
optsLenOptions length.
Returns
Options.
bool gridgain::operator== ( Guid &  val1,
Guid &  val2 
)
Parameters
val1First value.
val2Second value.
Returns
True if equal.

Variable Documentation

CriticalSection gridgain::factoryLock

Critical section for factory methods.

const char* gridgain::GRID_DFLT_CFG = "config/default-config.xml"

Default configuration.

bool gridgain::JVM_LIB_LOADED

Whether JVM library is loaded to the process.

bool gridgain::started = false

Flag indicating that at least one grid has started.