Apache Ignite C++
Public Member Functions | Friends | List of all members
ignite::Ignite Class Reference

Main interface to operate with Ignite. More...

#include <ignite.h>

Public Member Functions

 Ignite ()
 Default constructor.
 
 Ignite (impl::IgniteImpl *impl)
 Constructor.
 
const char * GetName () const
 Get Ignite instance name. More...
 
template<typename K , typename V >
cache::Cache< K, V > GetCache (const char *name)
 Get cache. More...
 
template<typename K , typename V >
cache::Cache< K, V > GetCache (const char *name, IgniteError *err)
 Get cache. More...
 
template<typename K , typename V >
cache::Cache< K, V > GetOrCreateCache (const char *name)
 Get or create cache. More...
 
template<typename K , typename V >
cache::Cache< K, V > GetOrCreateCache (const char *name, IgniteError *err)
 Get or create cache. More...
 
template<typename K , typename V >
cache::Cache< K, V > CreateCache (const char *name)
 Create cache. More...
 
template<typename K , typename V >
cache::Cache< K, V > CreateCache (const char *name, IgniteError *err)
 Create cache. More...
 
bool IsValid ()
 Check if the instance is valid. More...
 

Friends

class impl::IgniteImpl
 

Detailed Description

Main interface to operate with Ignite.

Member Function Documentation

template<typename K , typename V >
cache::Cache<K, V> ignite::Ignite::CreateCache ( const char *  name)
inline

Create cache.

Parameters
nameCache name.
Returns
Cache.
template<typename K , typename V >
cache::Cache<K, V> ignite::Ignite::CreateCache ( const char *  name,
IgniteError err 
)
inline

Create cache.

Parameters
nameCache name.
errError;
Returns
Cache.
template<typename K , typename V >
cache::Cache<K, V> ignite::Ignite::GetCache ( const char *  name)
inline

Get cache.

Parameters
nameCache name.
Returns
Cache.
template<typename K , typename V >
cache::Cache<K, V> ignite::Ignite::GetCache ( const char *  name,
IgniteError err 
)
inline

Get cache.

Parameters
nameCache name.
errError;
Returns
Cache.
const char * ignite::Ignite::GetName ( ) const

Get Ignite instance name.

Returns
Name.
template<typename K , typename V >
cache::Cache<K, V> ignite::Ignite::GetOrCreateCache ( const char *  name)
inline

Get or create cache.

Parameters
nameCache name.
Returns
Cache.
template<typename K , typename V >
cache::Cache<K, V> ignite::Ignite::GetOrCreateCache ( const char *  name,
IgniteError err 
)
inline

Get or create cache.

Parameters
nameCache name.
errError;
Returns
Cache.
bool ignite::Ignite::IsValid ( )
inline

Check if the instance is valid.

Returns
True if the instance is valid and can be used.

The documentation for this class was generated from the following files: