| Apache Ignite C++

ignite_configuration.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_IGNITE_CONFIGURATION
24 #define _IGNITE_IGNITE_CONFIGURATION
25
26 #include <stdint.h>
27 #include <string>
28 #include <list>
29
30 namespace ignite
31 {
35 struct IgniteConfiguration
36 {
38 std::string igniteHome;
39
41 std::string springCfgPath;
42
44 std::string jvmLibPath;
45
47 std::string jvmClassPath;
48
50 int32_t jvmInitMem;
51
53 int32_t jvmMaxMem;
54
56 std::list<std::string> jvmOpts;
57
61 IgniteConfiguration() : igniteHome(), springCfgPath(), jvmLibPath(), jvmClassPath(),
62 jvmInitMem(512), jvmMaxMem(1024), jvmOpts()
63 {
64 // No-op.
65 }
66 };
67 }
68
69 #endif //_IGNITE_IGNITE_CONFIGURATION
ignite
Apache Ignite API.
Definition: cache.h:48
ignite::IgniteConfiguration::springCfgPath
std::string springCfgPath
Path to Spring configuration file.
Definition: ignite_configuration.h:41
ignite::IgniteConfiguration::jvmOpts
std::list< std::string > jvmOpts
Additional JVM options.
Definition: ignite_configuration.h:56
ignite::IgniteConfiguration::jvmInitMem
int32_t jvmInitMem
Initial amount of JVM memory.
Definition: ignite_configuration.h:50
ignite::IgniteConfiguration::IgniteConfiguration
IgniteConfiguration()
Default constructor.
Definition: ignite_configuration.h:61
ignite::IgniteConfiguration::jvmClassPath
std::string jvmClassPath
JVM classpath.
Definition: ignite_configuration.h:47
ignite::IgniteConfiguration::jvmMaxMem
int32_t jvmMaxMem
Maximum amount of JVM memory.
Definition: ignite_configuration.h:53
ignite::IgniteConfiguration
Ignite configuration.
Definition: ignite_configuration.h:35
ignite::IgniteConfiguration::igniteHome
std::string igniteHome
Path to Ignite home.
Definition: ignite_configuration.h:38
ignite::IgniteConfiguration::jvmLibPath
std::string jvmLibPath
Path ot JVM libbrary.
Definition: ignite_configuration.h:44