Apache Ignite C++
ignition.h
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements. See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
23 #ifndef _IGNITE_IGNITION
24 #define _IGNITE_IGNITION
25 
26 #include "ignite/ignite.h"
28 #include "ignite/ignite_error.h"
29 
30 namespace ignite
31 {
35  class IGNITE_IMPORT_EXPORT Ignition
36  {
37  public:
44  static Ignite Start(const IgniteConfiguration& cfg);
45 
53  static Ignite Start(const IgniteConfiguration& cfg, IgniteError* err);
54 
62  static Ignite Start(const IgniteConfiguration& cfg, const char* name);
63 
72  static Ignite Start(const IgniteConfiguration& cfg, const char* name, IgniteError* err);
73 
79  static Ignite Get();
80 
87  static Ignite Get(IgniteError* err);
88 
95  static Ignite Get(const char* name);
96 
104  static Ignite Get(const char* name, IgniteError* err);
105 
112  static bool Stop(bool cancel);
113 
121  static bool Stop(bool cancel, IgniteError* err);
122 
130  static bool Stop(const char* name, bool cancel);
131 
140  static bool Stop(const char* name, bool cancel, IgniteError* err);
141 
147  static void StopAll(bool cancel);
148 
155  static void StopAll(bool cancel, IgniteError* err);
156  };
157 }
158 
159 #endif
Declares ignite::Ignite class.
Declares ignite::IgniteConfiguration class.
Ignite configuration.
Definition: ignite_configuration.h:37
Ignite error information.
Definition: ignite_error.h:78
Apache Ignite API.
Definition: binary_consts.h:28
Declares ignite::IgniteError class.
Main interface to operate with Ignite.
Definition: ignite.h:35
This class defines a factory for the main Ignite API.
Definition: ignition.h:35