blob: a9116af777250bc26990aa11290680b61a4952c3 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="canonical" href="https://ignite.apache.org/releases/2.7.0/cppdoc/classignite_1_1JvmOptions.html" />
<META NAME="ROBOTS" CONTENT="NOINDEX">
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>&nbsp; Apache Ignite C++: ignite::JvmOptions Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-61232409-1', 'auto');
ga('send', 'pageview');
</script></head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="ignite_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">&nbsp; Apache Ignite C++
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceignite.html">ignite</a></li><li class="navelem"><a class="el" href="classignite_1_1JvmOptions.html">JvmOptions</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classignite_1_1JvmOptions-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ignite::JvmOptions Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>JVM options.
<a href="classignite_1_1JvmOptions.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab4891916e4ac952229d0e6e4f4129bc2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4891916e4ac952229d0e6e4f4129bc2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1JvmOptions.html#ab4891916e4ac952229d0e6e4f4129bc2">JvmOptions</a> ()</td></tr>
<tr class="memdesc:ab4891916e4ac952229d0e6e4f4129bc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:ab4891916e4ac952229d0e6e4f4129bc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f15b2d6e521944ee62ed829ce0cf568"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5f15b2d6e521944ee62ed829ce0cf568"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1JvmOptions.html#a5f15b2d6e521944ee62ed829ce0cf568">~JvmOptions</a> ()</td></tr>
<tr class="memdesc:a5f15b2d6e521944ee62ed829ce0cf568"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a5f15b2d6e521944ee62ed829ce0cf568"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6d62a199c8b85f304959cae75b4005d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1JvmOptions.html#af6d62a199c8b85f304959cae75b4005d">FromConfiguration</a> (const <a class="el" href="structignite_1_1IgniteConfiguration.html">IgniteConfiguration</a> &amp;cfg, const std::string &amp;home, const std::string &amp;cp)</td></tr>
<tr class="memdesc:af6d62a199c8b85f304959cae75b4005d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create JVM options from configuration. <a href="#af6d62a199c8b85f304959cae75b4005d">More...</a><br /></td></tr>
<tr class="separator:af6d62a199c8b85f304959cae75b4005d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6744aca5954efe843ead164cbfd507dc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6744aca5954efe843ead164cbfd507dc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1JvmOptions.html#a6744aca5954efe843ead164cbfd507dc">Deinit</a> ()</td></tr>
<tr class="memdesc:a6744aca5954efe843ead164cbfd507dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deallocates all allocated data. <br /></td></tr>
<tr class="separator:a6744aca5954efe843ead164cbfd507dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1a5e510d0b25b42145edfb673510c9f"><td class="memItemLeft" align="right" valign="top">char **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1JvmOptions.html#ac1a5e510d0b25b42145edfb673510c9f">GetOpts</a> () const </td></tr>
<tr class="memdesc:ac1a5e510d0b25b42145edfb673510c9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get built options. <a href="#ac1a5e510d0b25b42145edfb673510c9f">More...</a><br /></td></tr>
<tr class="separator:ac1a5e510d0b25b42145edfb673510c9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae98895317c987f9babbab8f4dd17ce53"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1JvmOptions.html#ae98895317c987f9babbab8f4dd17ce53">GetSize</a> () const </td></tr>
<tr class="memdesc:ae98895317c987f9babbab8f4dd17ce53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get options number. <a href="#ae98895317c987f9babbab8f4dd17ce53">More...</a><br /></td></tr>
<tr class="separator:ae98895317c987f9babbab8f4dd17ce53"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>JVM options. </p>
<p>Used to build JVM options in a exception-safe way. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="af6d62a199c8b85f304959cae75b4005d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ignite::JvmOptions::FromConfiguration </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structignite_1_1IgniteConfiguration.html">IgniteConfiguration</a> &amp;&#160;</td>
<td class="paramname"><em>cfg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>home</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>cp</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create JVM options from configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">cfg</td><td>Configuration. </td></tr>
<tr><td class="paramname">home</td><td>Optional GG home. </td></tr>
<tr><td class="paramname">cp</td><td>Classpath. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ac1a5e510d0b25b42145edfb673510c9f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">char** ignite::JvmOptions::GetOpts </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get built options. </p>
<dl class="section return"><dt>Returns</dt><dd>Built options </dd></dl>
</div>
</div>
<a class="anchor" id="ae98895317c987f9babbab8f4dd17ce53"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int ignite::JvmOptions::GetSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get options number. </p>
<dl class="section return"><dt>Returns</dt><dd>Options number. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>ignition.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Nov 30 2018 20:09:21 for &nbsp; Apache Ignite C++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>