GridGain C++
ignite_configuration.h
Go to the documentation of this file.
1 /*
2  * Copyright 2019 GridGain Systems, Inc. and Contributors.
3  *
4  * Licensed under the GridGain Community Edition License (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
22 #ifndef _IGNITE_IGNITE_CONFIGURATION
23 #define _IGNITE_IGNITE_CONFIGURATION
24 
25 #include <stdint.h>
26 #include <string>
27 #include <list>
28 
29 namespace ignite
30 {
35  {
37  std::string igniteHome;
38 
40  std::string springCfgPath;
41 
43  std::string jvmLibPath;
44 
46  std::string jvmClassPath;
47 
49  int32_t jvmInitMem;
50 
52  int32_t jvmMaxMem;
53 
55  std::list<std::string> jvmOpts;
56 
61  jvmInitMem(512), jvmMaxMem(1024), jvmOpts()
62  {
63  // No-op.
64  }
65  };
66 }
67 
68 #endif //_IGNITE_IGNITE_CONFIGURATION
ignite
Ignite API.
Definition: cache.h:47
ignite::IgniteConfiguration::springCfgPath
std::string springCfgPath
Path to Spring configuration file.
Definition: ignite_configuration.h:40
ignite::IgniteConfiguration::jvmOpts
std::list< std::string > jvmOpts
Additional JVM options.
Definition: ignite_configuration.h:55
ignite::IgniteConfiguration::jvmInitMem
int32_t jvmInitMem
Initial amount of JVM memory.
Definition: ignite_configuration.h:49
ignite::IgniteConfiguration::IgniteConfiguration
IgniteConfiguration()
Default constructor.
Definition: ignite_configuration.h:60
ignite::IgniteConfiguration::jvmClassPath
std::string jvmClassPath
JVM classpath.
Definition: ignite_configuration.h:46
ignite::IgniteConfiguration::jvmMaxMem
int32_t jvmMaxMem
Maximum amount of JVM memory.
Definition: ignite_configuration.h:52
ignite::IgniteConfiguration
Ignite configuration.
Definition: ignite_configuration.h:34
ignite::IgniteConfiguration::igniteHome
std::string igniteHome
Path to Ignite home.
Definition: ignite_configuration.h:37
ignite::IgniteConfiguration::jvmLibPath
std::string jvmLibPath
Path ot JVM libbrary.
Definition: ignite_configuration.h:43