| 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_error.h>
27
28 #include "ignite/ignite.h"
29 #include "ignite/ignite_configuration.h"
30
31 namespace ignite
32 {
36 class IGNITE_IMPORT_EXPORT Ignition
37 {
38 public:
45 static Ignite Start(const IgniteConfiguration& cfg);
46
54 static Ignite Start(const IgniteConfiguration& cfg, IgniteError& err);
55
63 static Ignite Start(const IgniteConfiguration& cfg, const char* name);
64
73 static Ignite Start(const IgniteConfiguration& cfg, const char* name, IgniteError& err);
74
80 static Ignite Get();
81
88 static Ignite Get(IgniteError& err);
89
96 static Ignite Get(const char* name);
97
105 static Ignite Get(const char* name, IgniteError& err);
106
113 static bool Stop(bool cancel);
114
122 static bool Stop(bool cancel, IgniteError& err);
123
131 static bool Stop(const char* name, bool cancel);
132
141 static bool Stop(const char* name, bool cancel, IgniteError& err);
142
148 static void StopAll(bool cancel);
149
156 static void StopAll(bool cancel, IgniteError& err);
157 };
158 }
159
160 #endif //_IGNITE_IGNITION
ignite.h
Declares ignite::Ignite class.
ignite_configuration.h
Declares ignite::IgniteConfiguration class.
ignite::IgniteConfiguration
Ignite configuration.
Definition: ignite_configuration.h:35
ignite::IgniteError
Ignite error information.
Definition: ignite_error.h:94
ignite
Apache Ignite API.
Definition: cache.h:48
ignite_error.h
Declares ignite::IgniteError class.
ignite::Ignite
Main interface to operate with Ignite.
Definition: ignite.h:43
ignite::Ignition
This class defines a factory for the main Ignite API.
Definition: ignition.h:36