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_CONFIGURATION
24 #define _IGNITE_CONFIGURATION
25 
26 #include <stdint.h>
27 #include <string>
28 #include <list>
29 
30 #include "ignite/impl/utils.h"
31 
32 namespace ignite
33 {
38  {
40  std::string igniteHome;
41 
43  std::string springCfgPath;
44 
46  std::string jvmLibPath;
47 
49  std::string jvmClassPath;
50 
52  int32_t jvmInitMem;
53 
55  int32_t jvmMaxMem;
56 
58  std::list<std::string> jvmOpts;
59 
63  IgniteConfiguration() : igniteHome(), springCfgPath(), jvmLibPath(), jvmClassPath(),
64  jvmInitMem(512), jvmMaxMem(1024), jvmOpts()
65  {
66  // No-op.
67  }
68  };
69 }
70 
71 #endif
std::string jvmClassPath
JVM classpath.
Definition: ignite_configuration.h:49
Ignite configuration.
Definition: ignite_configuration.h:37
int32_t jvmMaxMem
Maximum amount of JVM memory.
Definition: ignite_configuration.h:55
std::string igniteHome
Path to Ignite home.
Definition: ignite_configuration.h:40
int32_t jvmInitMem
Initial amount of JVM memory.
Definition: ignite_configuration.h:52
std::list< std::string > jvmOpts
Additional JVM options.
Definition: ignite_configuration.h:58
std::string springCfgPath
Path to Spring configuration file.
Definition: ignite_configuration.h:43
IgniteConfiguration()
Constructor.
Definition: ignite_configuration.h:63
Apache Ignite API.
Definition: binary_consts.h:28
std::string jvmLibPath
Path ot JVM libbrary.
Definition: ignite_configuration.h:46