| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <META NAME="ROBOTS" CONTENT="NOINDEX"> |
| <link rel="canonical" href="https://ignite.apache.org/releases/1.1.0/javadoc/org/apache/ignite/IgniteSpringBean.html" /> |
| <!-- Generated by javadoc (version 1.7.0_21) on Wed May 20 19:38:54 MSK 2015 --> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>IgniteSpringBean (Ignite 1.1.0-incubating)</title> |
| <meta name="date" content="2015-05-20"> |
| <link rel="stylesheet" type="text/css" href="../../../javadoc.css" title="Style"> |
| <link rel='shortcut icon' href='https://ignite.incubator.apache.org/favicon.ico'/> |
| <link type='text/css' rel='stylesheet' href='http://agorbatchev.typepad.com/pub/sh/3_0_83/styles/shCore.css'/> |
| <link type='text/css' rel='stylesheet' href='http://agorbatchev.typepad.com/pub/sh/3_0_83/styles/shThemeDefault.css'/> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shCore.js'></script> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shLegacy.js'></script> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shBrushJava.js'></script> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shBrushPlain.js'></script> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shBrushJScript.js'></script> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shBrushBash.js'></script> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shBrushXml.js'></script> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shBrushScala.js'></script> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shBrushGroovy.js'></script> |
| |
| <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> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="IgniteSpringBean (Ignite 1.1.0-incubating)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/IgniteSpringBean.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../index-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><em>Ignite - In-Memory Data Fabric</em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../org/apache/ignite/IgniteSpring.html" title="class in org.apache.ignite"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../org/apache/ignite/IgniteState.html" title="enum in org.apache.ignite"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../index.html?org/apache/ignite/IgniteSpringBean.html" target="_top">Frames</a></li> |
| <li><a href="IgniteSpringBean.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.ignite</div> |
| <h2 title="Class IgniteSpringBean" class="title">Class IgniteSpringBean</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.ignite.IgniteSpringBean</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a>, <a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a>, org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware</dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">IgniteSpringBean</span> |
| extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a>, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a></pre> |
| <div class="block">Grid Spring bean allows to bypass <a href="../../../org/apache/ignite/Ignition.html" title="class in org.apache.ignite"><code>Ignition</code></a> methods. |
| In other words, this bean class allows to inject new grid instance from |
| Spring configuration file directly without invoking static |
| <a href="../../../org/apache/ignite/Ignition.html" title="class in org.apache.ignite"><code>Ignition</code></a> methods. This class can be wired directly from |
| Spring and can be referenced from within other Spring beans. |
| By virtue of implementing <code>DisposableBean</code> and <code>InitializingBean</code> |
| interfaces, <code>GridSpringBean</code> automatically starts and stops underlying |
| grid instance. |
| <p> |
| <h1 class="header">Spring Configuration Example</h1> |
| Here is a typical example of describing it in Spring file: |
| <pre name="code" class="xml"> |
| <bean id="mySpringBean" class="org.apache.ignite.GridSpringBean"> |
| <property name="configuration"> |
| <bean id="grid.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"> |
| <property name="gridName" value="mySpringGrid"/> |
| </bean> |
| </property> |
| </bean> |
| </pre> |
| Or use default configuration: |
| <pre name="code" class="xml"> |
| <bean id="mySpringBean" class="org.apache.ignite.GridSpringBean"/> |
| </pre> |
| <h1 class="header">Java Example</h1> |
| Here is how you may access this bean from code: |
| <pre name="code" class="java"> |
| AbstractApplicationContext ctx = new FileSystemXmlApplicationContext("/path/to/spring/file"); |
| |
| // Register Spring hook to destroy bean automatically. |
| ctx.registerShutdownHook(); |
| |
| Grid grid = (Grid)ctx.getBean("mySpringBean"); |
| </pre> |
| <p></div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../serialized-form.html#org.apache.ignite.IgniteSpringBean">Serialized Form</a></dd></dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#IgniteSpringBean()">IgniteSpringBean</a></strong>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> void</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#addCacheConfiguration(org.apache.ignite.configuration.CacheConfiguration)">addCacheConfiguration</a></strong>(<a href="../../../org/apache/ignite/configuration/CacheConfiguration.html" title="class in org.apache.ignite.configuration">CacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> cacheCfg)</code> |
| <div class="block">Adds cache configuration template.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>K<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/cache/affinity/Affinity.html" title="interface in org.apache.ignite.cache.affinity">Affinity</a><span class='angle_bracket'><</span>K<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#affinity(java.lang.String)">affinity</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cacheName)</code> |
| <div class="block">Gets affinity service to provide information about data partitioning |
| and distribution.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#afterPropertiesSet()">afterPropertiesSet</a></strong>()</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/IgniteAtomicLong.html" title="interface in org.apache.ignite">IgniteAtomicLong</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#atomicLong(java.lang.String, long, boolean)">atomicLong</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| long initVal, |
| boolean create)</code> |
| <div class="block">Will get a atomic long from cache and create one if it has not been created yet and <code>create</code> flag |
| is <code>true</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteAtomicReference.html" title="interface in org.apache.ignite">IgniteAtomicReference</a><span class='angle_bracket'><</span>T<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#atomicReference(java.lang.String, T, boolean)">atomicReference</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| T initVal, |
| boolean create)</code> |
| <div class="block">Will get a atomic reference from cache and create one if it has not been created yet and <code>create</code> flag |
| is <code>true</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/IgniteAtomicSequence.html" title="interface in org.apache.ignite">IgniteAtomicSequence</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#atomicSequence(java.lang.String, long, boolean)">atomicSequence</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| long initVal, |
| boolean create)</code> |
| <div class="block">Will get an atomic sequence from cache and create one if it has not been created yet and <code>create</code> flag |
| is <code>true</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>T,S<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteAtomicStamped.html" title="interface in org.apache.ignite">IgniteAtomicStamped</a><span class='angle_bracket'><</span>T,S<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#atomicStamped(java.lang.String, T, S, boolean)">atomicStamped</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| T initVal, |
| S initStamp, |
| boolean create)</code> |
| <div class="block">Will get a atomic stamped from cache and create one if it has not been created yet and <code>create</code> flag |
| is <code>true</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#cache(java.lang.String)">cache</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> |
| <div class="block">Gets an instance of <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite"><code>IgniteCache</code></a> API.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#close()">close</a></strong>()</code> |
| <div class="block">Closes <code>this</code> instance of grid.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/IgniteCluster.html" title="interface in org.apache.ignite">IgniteCluster</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#cluster()">cluster</a></strong>()</code> |
| <div class="block">Gets an instance of <a href="../../../org/apache/ignite/IgniteCluster.html" title="interface in org.apache.ignite"><code>IgniteCluster</code></a> interface.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/IgniteCompute.html" title="interface in org.apache.ignite">IgniteCompute</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#compute()">compute</a></strong>()</code> |
| <div class="block">Gets <code>compute</code> facade over all cluster nodes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/IgniteCompute.html" title="interface in org.apache.ignite">IgniteCompute</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#compute(org.apache.ignite.cluster.ClusterGroup)">compute</a></strong>(<a href="../../../org/apache/ignite/cluster/ClusterGroup.html" title="interface in org.apache.ignite.cluster">ClusterGroup</a> grp)</code> |
| <div class="block">Gets <code>compute</code> facade over the specified cluster group.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/configuration/IgniteConfiguration.html" title="class in org.apache.ignite.configuration">IgniteConfiguration</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#configuration()">configuration</a></strong>()</code> |
| <div class="block">Gets the configuration of this grid instance.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/IgniteCountDownLatch.html" title="interface in org.apache.ignite">IgniteCountDownLatch</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#countDownLatch(java.lang.String, int, boolean, boolean)">countDownLatch</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| int cnt, |
| boolean autoDel, |
| boolean create)</code> |
| <div class="block">Gets or creates count down latch.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#createCache(org.apache.ignite.configuration.CacheConfiguration)">createCache</a></strong>(<a href="../../../org/apache/ignite/configuration/CacheConfiguration.html" title="class in org.apache.ignite.configuration">CacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> cacheCfg)</code> |
| <div class="block">Dynamically starts new cache with the given cache configuration.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#createCache(org.apache.ignite.configuration.CacheConfiguration, org.apache.ignite.configuration.NearCacheConfiguration)">createCache</a></strong>(<a href="../../../org/apache/ignite/configuration/CacheConfiguration.html" title="class in org.apache.ignite.configuration">CacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> cacheCfg, |
| <a href="../../../org/apache/ignite/configuration/NearCacheConfiguration.html" title="class in org.apache.ignite.configuration">NearCacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> nearCfg)</code> |
| <div class="block">Dynamically starts new cache with the given cache configuration.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#createCache(java.lang.String)">createCache</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cacheName)</code> |
| <div class="block">Dynamically starts new cache using template configuration.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#createNearCache(java.lang.String, org.apache.ignite.configuration.NearCacheConfiguration)">createNearCache</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cacheName, |
| <a href="../../../org/apache/ignite/configuration/NearCacheConfiguration.html" title="class in org.apache.ignite.configuration">NearCacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> nearCfg)</code> |
| <div class="block">Starts a near cache on local node if cache was previously started with one of the |
| <a href="../../../org/apache/ignite/Ignite.html#createCache(org.apache.ignite.configuration.CacheConfiguration)"><code>Ignite.createCache(CacheConfiguration)</code></a> or <a href="../../../org/apache/ignite/Ignite.html#createCache(org.apache.ignite.configuration.CacheConfiguration, org.apache.ignite.configuration.NearCacheConfiguration)"><code>Ignite.createCache(CacheConfiguration, NearCacheConfiguration)</code></a> |
| methods.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteDataStreamer.html" title="interface in org.apache.ignite">IgniteDataStreamer</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#dataStreamer(java.lang.String)">dataStreamer</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cacheName)</code> |
| <div class="block">Gets a new instance of data streamer associated with given cache name.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#destroy()">destroy</a></strong>()</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#destroyCache(java.lang.String)">destroyCache</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cacheName)</code> |
| <div class="block">Stops dynamically started cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/IgniteEvents.html" title="interface in org.apache.ignite">IgniteEvents</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#events()">events</a></strong>()</code> |
| <div class="block">Gets <code>events</code> facade over all cluster nodes.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/IgniteEvents.html" title="interface in org.apache.ignite">IgniteEvents</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#events(org.apache.ignite.cluster.ClusterGroup)">events</a></strong>(<a href="../../../org/apache/ignite/cluster/ClusterGroup.html" title="interface in org.apache.ignite.cluster">ClusterGroup</a> grp)</code> |
| <div class="block">Gets <code>events</code> facade over nodes within the cluster group.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#executorService()">executorService</a></strong>()</code> |
| <div class="block">Creates a new <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent"><code>ExecutorService</code></a> which will execute all submitted |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Callable.html?is-external=true" title="class or interface in java.util.concurrent"><code>Callable</code></a> and <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang"><code>Runnable</code></a> jobs on all cluster nodes.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#executorService(org.apache.ignite.cluster.ClusterGroup)">executorService</a></strong>(<a href="../../../org/apache/ignite/cluster/ClusterGroup.html" title="interface in org.apache.ignite.cluster">ClusterGroup</a> grp)</code> |
| <div class="block">Creates a new <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent"><code>ExecutorService</code></a> which will execute all submitted |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Callable.html?is-external=true" title="class or interface in java.util.concurrent"><code>Callable</code></a> and <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang"><code>Runnable</code></a> jobs on nodes in the specified cluster group.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/IgniteFileSystem.html" title="interface in org.apache.ignite">IgniteFileSystem</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#fileSystem(java.lang.String)">fileSystem</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> |
| <div class="block">Gets an instance of IGFS (Ignite In-Memory File System).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'><</span><a href="../../../org/apache/ignite/IgniteFileSystem.html" title="interface in org.apache.ignite">IgniteFileSystem</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#fileSystems()">fileSystems</a></strong>()</code> |
| <div class="block">Gets all instances of IGFS (Ignite In-Memory File System).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#getOrCreateCache(org.apache.ignite.configuration.CacheConfiguration)">getOrCreateCache</a></strong>(<a href="../../../org/apache/ignite/configuration/CacheConfiguration.html" title="class in org.apache.ignite.configuration">CacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> cacheCfg)</code> |
| <div class="block">Gets existing cache with the given name or creates new one with the given configuration.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#getOrCreateCache(org.apache.ignite.configuration.CacheConfiguration, org.apache.ignite.configuration.NearCacheConfiguration)">getOrCreateCache</a></strong>(<a href="../../../org/apache/ignite/configuration/CacheConfiguration.html" title="class in org.apache.ignite.configuration">CacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> cacheCfg, |
| <a href="../../../org/apache/ignite/configuration/NearCacheConfiguration.html" title="class in org.apache.ignite.configuration">NearCacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> nearCfg)</code> |
| <div class="block">Gets existing cache with the given cache configuration or creates one if it does not exist.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#getOrCreateCache(java.lang.String)">getOrCreateCache</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cacheName)</code> |
| <div class="block">Gets existing cache with the given name or creates new one using template configuration.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#getOrCreateNearCache(java.lang.String, org.apache.ignite.configuration.NearCacheConfiguration)">getOrCreateNearCache</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cacheName, |
| <a href="../../../org/apache/ignite/configuration/NearCacheConfiguration.html" title="class in org.apache.ignite.configuration">NearCacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> nearCfg)</code> |
| <div class="block">Gets existing near cache with the given name or creates a new one.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/IgniteLogger.html" title="interface in org.apache.ignite">IgniteLogger</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#log()">log</a></strong>()</code> |
| <div class="block">Gets grid's logger.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/IgniteMessaging.html" title="interface in org.apache.ignite">IgniteMessaging</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#message()">message</a></strong>()</code> |
| <div class="block">Gets <code>messaging</code> facade over all cluster nodes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/IgniteMessaging.html" title="interface in org.apache.ignite">IgniteMessaging</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#message(org.apache.ignite.cluster.ClusterGroup)">message</a></strong>(<a href="../../../org/apache/ignite/cluster/ClusterGroup.html" title="interface in org.apache.ignite.cluster">ClusterGroup</a> prj)</code> |
| <div class="block">Gets <code>messaging</code> facade over nodes within the cluster group.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#name()">name</a></strong>()</code> |
| <div class="block">Gets the name of the grid this grid instance (and correspondingly its local node) belongs to.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>T extends <a href="../../../org/apache/ignite/plugin/IgnitePlugin.html" title="interface in org.apache.ignite.plugin">IgnitePlugin</a><span class='angle_bracket'>></span> <br>T</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#plugin(java.lang.String)">plugin</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> |
| <div class="block">Gets an instance of deployed Ignite plugin.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteQueue.html" title="interface in org.apache.ignite">IgniteQueue</a><span class='angle_bracket'><</span>T<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#queue(java.lang.String, int, org.apache.ignite.configuration.CollectionConfiguration)">queue</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| int cap, |
| <a href="../../../org/apache/ignite/configuration/CollectionConfiguration.html" title="class in org.apache.ignite.configuration">CollectionConfiguration</a> cfg)</code> |
| <div class="block">Will get a named queue from cache and create one if it has not been created yet and <code>cfg</code> is not |
| <code>null</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#readExternal(java.io.ObjectInput)">readExternal</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/ObjectInput.html?is-external=true" title="class or interface in java.io">ObjectInput</a> in)</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/IgniteScheduler.html" title="interface in org.apache.ignite">IgniteScheduler</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#scheduler()">scheduler</a></strong>()</code> |
| <div class="block">Gets an instance of cron-based scheduler.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/IgniteServices.html" title="interface in org.apache.ignite">IgniteServices</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#services()">services</a></strong>()</code> |
| <div class="block">Gets <code>services</code> facade over all cluster nodes.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/IgniteServices.html" title="interface in org.apache.ignite">IgniteServices</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#services(org.apache.ignite.cluster.ClusterGroup)">services</a></strong>(<a href="../../../org/apache/ignite/cluster/ClusterGroup.html" title="interface in org.apache.ignite.cluster">ClusterGroup</a> grp)</code> |
| <div class="block">Gets <code>services</code> facade over nodes within the cluster group.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteSet.html" title="interface in org.apache.ignite">IgniteSet</a><span class='angle_bracket'><</span>T<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#set(java.lang.String, org.apache.ignite.configuration.CollectionConfiguration)">set</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="../../../org/apache/ignite/configuration/CollectionConfiguration.html" title="class in org.apache.ignite.configuration">CollectionConfiguration</a> cfg)</code> |
| <div class="block">Will get a named set from cache and create one if it has not been created yet and <code>cfg</code> is not |
| <code>null</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#setApplicationContext(org.springframework.context.ApplicationContext)">setApplicationContext</a></strong>(org.springframework.context.ApplicationContext ctx)</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#setConfiguration(org.apache.ignite.configuration.IgniteConfiguration)">setConfiguration</a></strong>(<a href="../../../org/apache/ignite/configuration/IgniteConfiguration.html" title="class in org.apache.ignite.configuration">IgniteConfiguration</a> cfg)</code> |
| <div class="block">Sets grid configuration.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#toString()">toString</a></strong>()</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/IgniteTransactions.html" title="interface in org.apache.ignite">IgniteTransactions</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#transactions()">transactions</a></strong>()</code> |
| <div class="block">Gets grid transactions facade.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/ignite/lang/IgniteProductVersion.html" title="class in org.apache.ignite.lang">IgniteProductVersion</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#version()">version</a></strong>()</code> |
| <div class="block">Gets Ignite version.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/apache/ignite/IgniteSpringBean.html#writeExternal(java.io.ObjectOutput)">writeExternal</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/ObjectOutput.html?is-external=true" title="class or interface in java.io">ObjectOutput</a> out)</code></td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="IgniteSpringBean()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>IgniteSpringBean</h4> |
| <pre>public IgniteSpringBean()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="configuration()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>configuration</h4> |
| <pre>public <a href="../../../org/apache/ignite/configuration/IgniteConfiguration.html" title="class in org.apache.ignite.configuration">IgniteConfiguration</a> configuration()</pre> |
| <div class="block">Gets the configuration of this grid instance. |
| <p> |
| <b>NOTE:</b> |
| <br> |
| SPIs obtains through this method should never be used directly. SPIs provide |
| internal view on the subsystem and is used internally by Ignite kernal. In rare use cases when |
| access to a specific implementation of this SPI is required - an instance of this SPI can be obtained |
| via this method to check its configuration properties or call other non-SPI |
| methods.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#configuration()">configuration</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Grid configuration instance.</dd></dl> |
| </li> |
| </ul> |
| <a name="setConfiguration(org.apache.ignite.configuration.IgniteConfiguration)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setConfiguration</h4> |
| <pre>public void setConfiguration(<a href="../../../org/apache/ignite/configuration/IgniteConfiguration.html" title="class in org.apache.ignite.configuration">IgniteConfiguration</a> cfg)</pre> |
| <div class="block">Sets grid configuration.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cfg</code> - Grid configuration.</dd></dl> |
| </li> |
| </ul> |
| <a name="setApplicationContext(org.springframework.context.ApplicationContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setApplicationContext</h4> |
| <pre>public void setApplicationContext(org.springframework.context.ApplicationContext ctx) |
| throws org.springframework.beans.BeansException</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>setApplicationContext</code> in interface <code>org.springframework.context.ApplicationContextAware</code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code>org.springframework.beans.BeansException</code></dd></dl> |
| </li> |
| </ul> |
| <a name="destroy()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>destroy</h4> |
| <pre>public void destroy() |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>destroy</code> in interface <code>org.springframework.beans.factory.DisposableBean</code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="afterPropertiesSet()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>afterPropertiesSet</h4> |
| <pre>public void afterPropertiesSet() |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>afterPropertiesSet</code> in interface <code>org.springframework.beans.factory.InitializingBean</code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="log()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>log</h4> |
| <pre>public <a href="../../../org/apache/ignite/IgniteLogger.html" title="interface in org.apache.ignite">IgniteLogger</a> log()</pre> |
| <div class="block">Gets grid's logger.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#log()">log</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Grid's logger.</dd></dl> |
| </li> |
| </ul> |
| <a name="version()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>version</h4> |
| <pre>public <a href="../../../org/apache/ignite/lang/IgniteProductVersion.html" title="class in org.apache.ignite.lang">IgniteProductVersion</a> version()</pre> |
| <div class="block">Gets Ignite version.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#version()">version</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Ignite version.</dd></dl> |
| </li> |
| </ul> |
| <a name="compute()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compute</h4> |
| <pre>public <a href="../../../org/apache/ignite/IgniteCompute.html" title="interface in org.apache.ignite">IgniteCompute</a> compute()</pre> |
| <div class="block">Gets <code>compute</code> facade over all cluster nodes.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#compute()">compute</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Compute instance over all cluster nodes.</dd></dl> |
| </li> |
| </ul> |
| <a name="services()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>services</h4> |
| <pre>public <a href="../../../org/apache/ignite/IgniteServices.html" title="interface in org.apache.ignite">IgniteServices</a> services()</pre> |
| <div class="block">Gets <code>services</code> facade over all cluster nodes.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#services()">services</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Services facade over all cluster nodes.</dd></dl> |
| </li> |
| </ul> |
| <a name="message()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>message</h4> |
| <pre>public <a href="../../../org/apache/ignite/IgniteMessaging.html" title="interface in org.apache.ignite">IgniteMessaging</a> message()</pre> |
| <div class="block">Gets <code>messaging</code> facade over all cluster nodes.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#message()">message</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Messaging instance over all cluster nodes.</dd></dl> |
| </li> |
| </ul> |
| <a name="events()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>events</h4> |
| <pre>public <a href="../../../org/apache/ignite/IgniteEvents.html" title="interface in org.apache.ignite">IgniteEvents</a> events()</pre> |
| <div class="block">Gets <code>events</code> facade over all cluster nodes.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#events()">events</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Events instance over all cluster nodes.</dd></dl> |
| </li> |
| </ul> |
| <a name="executorService()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>executorService</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> executorService()</pre> |
| <div class="block">Creates a new <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent"><code>ExecutorService</code></a> which will execute all submitted |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Callable.html?is-external=true" title="class or interface in java.util.concurrent"><code>Callable</code></a> and <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang"><code>Runnable</code></a> jobs on all cluster nodes. |
| This essentially creates a <b><i>Distributed Thread Pool</i></b> that can |
| be used as a replacement for local thread pools.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#executorService()">executorService</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Grid-enabled <code>ExecutorService</code>.</dd></dl> |
| </li> |
| </ul> |
| <a name="cluster()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cluster</h4> |
| <pre>public <a href="../../../org/apache/ignite/IgniteCluster.html" title="interface in org.apache.ignite">IgniteCluster</a> cluster()</pre> |
| <div class="block">Gets an instance of <a href="../../../org/apache/ignite/IgniteCluster.html" title="interface in org.apache.ignite"><code>IgniteCluster</code></a> interface.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#cluster()">cluster</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Instance of <a href="../../../org/apache/ignite/IgniteCluster.html" title="interface in org.apache.ignite"><code>IgniteCluster</code></a> interface.</dd></dl> |
| </li> |
| </ul> |
| <a name="compute(org.apache.ignite.cluster.ClusterGroup)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compute</h4> |
| <pre>public <a href="../../../org/apache/ignite/IgniteCompute.html" title="interface in org.apache.ignite">IgniteCompute</a> compute(<a href="../../../org/apache/ignite/cluster/ClusterGroup.html" title="interface in org.apache.ignite.cluster">ClusterGroup</a> grp)</pre> |
| <div class="block">Gets <code>compute</code> facade over the specified cluster group. All operations |
| on the returned <a href="../../../org/apache/ignite/IgniteCompute.html" title="interface in org.apache.ignite"><code>IgniteCompute</code></a> instance will only include nodes from |
| this cluster group.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#compute(org.apache.ignite.cluster.ClusterGroup)">compute</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>grp</code> - Cluster group.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Compute instance over given cluster group.</dd></dl> |
| </li> |
| </ul> |
| <a name="message(org.apache.ignite.cluster.ClusterGroup)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>message</h4> |
| <pre>public <a href="../../../org/apache/ignite/IgniteMessaging.html" title="interface in org.apache.ignite">IgniteMessaging</a> message(<a href="../../../org/apache/ignite/cluster/ClusterGroup.html" title="interface in org.apache.ignite.cluster">ClusterGroup</a> prj)</pre> |
| <div class="block">Gets <code>messaging</code> facade over nodes within the cluster group. All operations |
| on the returned <a href="../../../org/apache/ignite/IgniteMessaging.html" title="interface in org.apache.ignite"><code>IgniteMessaging</code></a> instance will only include nodes from |
| the specified cluster group.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#message(org.apache.ignite.cluster.ClusterGroup)">message</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>prj</code> - Cluster group.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Messaging instance over given cluster group.</dd></dl> |
| </li> |
| </ul> |
| <a name="events(org.apache.ignite.cluster.ClusterGroup)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>events</h4> |
| <pre>public <a href="../../../org/apache/ignite/IgniteEvents.html" title="interface in org.apache.ignite">IgniteEvents</a> events(<a href="../../../org/apache/ignite/cluster/ClusterGroup.html" title="interface in org.apache.ignite.cluster">ClusterGroup</a> grp)</pre> |
| <div class="block">Gets <code>events</code> facade over nodes within the cluster group. All operations |
| on the returned <a href="../../../org/apache/ignite/IgniteEvents.html" title="interface in org.apache.ignite"><code>IgniteEvents</code></a> instance will only include nodes from |
| the specified cluster group.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#events(org.apache.ignite.cluster.ClusterGroup)">events</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>grp</code> - Cluster group.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Events instance over given cluster group.</dd></dl> |
| </li> |
| </ul> |
| <a name="services(org.apache.ignite.cluster.ClusterGroup)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>services</h4> |
| <pre>public <a href="../../../org/apache/ignite/IgniteServices.html" title="interface in org.apache.ignite">IgniteServices</a> services(<a href="../../../org/apache/ignite/cluster/ClusterGroup.html" title="interface in org.apache.ignite.cluster">ClusterGroup</a> grp)</pre> |
| <div class="block">Gets <code>services</code> facade over nodes within the cluster group. All operations |
| on the returned <a href="../../../org/apache/ignite/IgniteMessaging.html" title="interface in org.apache.ignite"><code>IgniteMessaging</code></a> instance will only include nodes from |
| the specified cluster group.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#services(org.apache.ignite.cluster.ClusterGroup)">services</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>grp</code> - Cluster group.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>Services</code> functionality over given cluster group.</dd></dl> |
| </li> |
| </ul> |
| <a name="executorService(org.apache.ignite.cluster.ClusterGroup)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>executorService</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> executorService(<a href="../../../org/apache/ignite/cluster/ClusterGroup.html" title="interface in org.apache.ignite.cluster">ClusterGroup</a> grp)</pre> |
| <div class="block">Creates a new <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent"><code>ExecutorService</code></a> which will execute all submitted |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Callable.html?is-external=true" title="class or interface in java.util.concurrent"><code>Callable</code></a> and <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang"><code>Runnable</code></a> jobs on nodes in the specified cluster group. |
| This essentially creates a <b><i>Distributed Thread Pool</i></b> that can be used as a |
| replacement for local thread pools.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#executorService(org.apache.ignite.cluster.ClusterGroup)">executorService</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>grp</code> - Cluster group.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent"><code>ExecutorService</code></a> which will execute jobs on nodes in given cluster group.</dd></dl> |
| </li> |
| </ul> |
| <a name="scheduler()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>scheduler</h4> |
| <pre>public <a href="../../../org/apache/ignite/IgniteScheduler.html" title="interface in org.apache.ignite">IgniteScheduler</a> scheduler()</pre> |
| <div class="block">Gets an instance of cron-based scheduler.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#scheduler()">scheduler</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Instance of scheduler.</dd></dl> |
| </li> |
| </ul> |
| <a name="name()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>name</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name()</pre> |
| <div class="block">Gets the name of the grid this grid instance (and correspondingly its local node) belongs to. |
| Note that single Java VM can have multiple grid instances all belonging to different grids. Grid |
| name allows to indicate to what grid this particular grid instance (i.e. grid runtime and its |
| local node) belongs to. |
| <p> |
| If default grid instance is used, then |
| <code>null</code> is returned. Refer to <a href="../../../org/apache/ignite/Ignition.html" title="class in org.apache.ignite"><code>Ignition</code></a> documentation |
| for information on how to start named grids.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#name()">name</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Name of the grid, or <code>null</code> for default grid.</dd></dl> |
| </li> |
| </ul> |
| <a name="cache(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cache</h4> |
| <pre>public <span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> cache(@Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> |
| <div class="block">Gets an instance of <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite"><code>IgniteCache</code></a> API. <code>IgniteCache</code> is a fully-compatible |
| implementation of <code>JCache (JSR 107)</code> specification.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#cache(java.lang.String)">cache</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Cache name.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Instance of the cache for the specified name.</dd></dl> |
| </li> |
| </ul> |
| <a name="createCache(org.apache.ignite.configuration.CacheConfiguration)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createCache</h4> |
| <pre>public <span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> createCache(<a href="../../../org/apache/ignite/configuration/CacheConfiguration.html" title="class in org.apache.ignite.configuration">CacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> cacheCfg)</pre> |
| <div class="block">Dynamically starts new cache with the given cache configuration. |
| <p> |
| If local node is an affinity node, this method will return the instance of started cache. |
| Otherwise, it will create a client cache on local node.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#createCache(org.apache.ignite.configuration.CacheConfiguration)">createCache</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>cacheCfg</code> - Cache configuration to use.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Instance of started cache.</dd></dl> |
| </li> |
| </ul> |
| <a name="getOrCreateCache(org.apache.ignite.configuration.CacheConfiguration)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOrCreateCache</h4> |
| <pre>public <span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> getOrCreateCache(<a href="../../../org/apache/ignite/configuration/CacheConfiguration.html" title="class in org.apache.ignite.configuration">CacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> cacheCfg)</pre> |
| <div class="block">Gets existing cache with the given name or creates new one with the given configuration.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#getOrCreateCache(org.apache.ignite.configuration.CacheConfiguration)">getOrCreateCache</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>cacheCfg</code> - Cache configuration to use.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Existing or newly created cache.</dd></dl> |
| </li> |
| </ul> |
| <a name="createCache(org.apache.ignite.configuration.CacheConfiguration, org.apache.ignite.configuration.NearCacheConfiguration)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createCache</h4> |
| <pre>public <span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> createCache(<a href="../../../org/apache/ignite/configuration/CacheConfiguration.html" title="class in org.apache.ignite.configuration">CacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> cacheCfg, |
| <a href="../../../org/apache/ignite/configuration/NearCacheConfiguration.html" title="class in org.apache.ignite.configuration">NearCacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> nearCfg)</pre> |
| <div class="block">Dynamically starts new cache with the given cache configuration. |
| <p> |
| If local node is an affinity node, this method will return the instance of started cache. |
| Otherwise, it will create a near cache with the given configuration on local node.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#createCache(org.apache.ignite.configuration.CacheConfiguration, org.apache.ignite.configuration.NearCacheConfiguration)">createCache</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>cacheCfg</code> - Cache configuration to use.</dd><dd><code>nearCfg</code> - Near cache configuration to use on local node in case it is not an |
| affinity node.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Instance of started cache.</dd></dl> |
| </li> |
| </ul> |
| <a name="getOrCreateCache(org.apache.ignite.configuration.CacheConfiguration, org.apache.ignite.configuration.NearCacheConfiguration)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOrCreateCache</h4> |
| <pre>public <span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> getOrCreateCache(<a href="../../../org/apache/ignite/configuration/CacheConfiguration.html" title="class in org.apache.ignite.configuration">CacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> cacheCfg, |
| <a href="../../../org/apache/ignite/configuration/NearCacheConfiguration.html" title="class in org.apache.ignite.configuration">NearCacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> nearCfg)</pre> |
| <div class="block">Gets existing cache with the given cache configuration or creates one if it does not exist.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#getOrCreateCache(org.apache.ignite.configuration.CacheConfiguration, org.apache.ignite.configuration.NearCacheConfiguration)">getOrCreateCache</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>cacheCfg</code> - Cache configuration.</dd><dd><code>nearCfg</code> - Near cache configuration for client.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>IgniteCache</code> instance.</dd></dl> |
| </li> |
| </ul> |
| <a name="createNearCache(java.lang.String, org.apache.ignite.configuration.NearCacheConfiguration)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createNearCache</h4> |
| <pre>public <span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> createNearCache(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cacheName, |
| <a href="../../../org/apache/ignite/configuration/NearCacheConfiguration.html" title="class in org.apache.ignite.configuration">NearCacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> nearCfg)</pre> |
| <div class="block">Starts a near cache on local node if cache was previously started with one of the |
| <a href="../../../org/apache/ignite/Ignite.html#createCache(org.apache.ignite.configuration.CacheConfiguration)"><code>Ignite.createCache(CacheConfiguration)</code></a> or <a href="../../../org/apache/ignite/Ignite.html#createCache(org.apache.ignite.configuration.CacheConfiguration, org.apache.ignite.configuration.NearCacheConfiguration)"><code>Ignite.createCache(CacheConfiguration, NearCacheConfiguration)</code></a> |
| methods.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#createNearCache(java.lang.String, org.apache.ignite.configuration.NearCacheConfiguration)">createNearCache</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>cacheName</code> - Cache name.</dd><dd><code>nearCfg</code> - Near cache configuration.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Cache instance.</dd></dl> |
| </li> |
| </ul> |
| <a name="getOrCreateNearCache(java.lang.String, org.apache.ignite.configuration.NearCacheConfiguration)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOrCreateNearCache</h4> |
| <pre>public <span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> getOrCreateNearCache(@Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cacheName, |
| <a href="../../../org/apache/ignite/configuration/NearCacheConfiguration.html" title="class in org.apache.ignite.configuration">NearCacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> nearCfg)</pre> |
| <div class="block">Gets existing near cache with the given name or creates a new one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#getOrCreateNearCache(java.lang.String, org.apache.ignite.configuration.NearCacheConfiguration)">getOrCreateNearCache</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>cacheName</code> - Cache name.</dd><dd><code>nearCfg</code> - Near configuration.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>IgniteCache</code> instance.</dd></dl> |
| </li> |
| </ul> |
| <a name="getOrCreateCache(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOrCreateCache</h4> |
| <pre>public <span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> getOrCreateCache(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cacheName)</pre> |
| <div class="block">Gets existing cache with the given name or creates new one using template configuration.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#getOrCreateCache(java.lang.String)">getOrCreateCache</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>cacheName</code> - Cache name.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Existing or newly created cache.</dd></dl> |
| </li> |
| </ul> |
| <a name="createCache(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createCache</h4> |
| <pre>public <span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteCache.html" title="interface in org.apache.ignite">IgniteCache</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> createCache(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cacheName)</pre> |
| <div class="block">Dynamically starts new cache using template configuration. |
| <p> |
| If local node is an affinity node, this method will return the instance of started cache. |
| Otherwise, it will create a client cache on local node.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#createCache(java.lang.String)">createCache</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>cacheName</code> - Cache name.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Instance of started cache.</dd></dl> |
| </li> |
| </ul> |
| <a name="addCacheConfiguration(org.apache.ignite.configuration.CacheConfiguration)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addCacheConfiguration</h4> |
| <pre>public <span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> void addCacheConfiguration(<a href="../../../org/apache/ignite/configuration/CacheConfiguration.html" title="class in org.apache.ignite.configuration">CacheConfiguration</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> cacheCfg)</pre> |
| <div class="block">Adds cache configuration template.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#addCacheConfiguration(org.apache.ignite.configuration.CacheConfiguration)">addCacheConfiguration</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>cacheCfg</code> - Cache configuration template.</dd></dl> |
| </li> |
| </ul> |
| <a name="destroyCache(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>destroyCache</h4> |
| <pre>public void destroyCache(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cacheName)</pre> |
| <div class="block">Stops dynamically started cache.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#destroyCache(java.lang.String)">destroyCache</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>cacheName</code> - Cache name to stop.</dd></dl> |
| </li> |
| </ul> |
| <a name="transactions()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>transactions</h4> |
| <pre>public <a href="../../../org/apache/ignite/IgniteTransactions.html" title="interface in org.apache.ignite">IgniteTransactions</a> transactions()</pre> |
| <div class="block">Gets grid transactions facade.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#transactions()">transactions</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Grid transactions facade.</dd></dl> |
| </li> |
| </ul> |
| <a name="dataStreamer(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dataStreamer</h4> |
| <pre>public <span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteDataStreamer.html" title="interface in org.apache.ignite">IgniteDataStreamer</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> dataStreamer(@Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cacheName)</pre> |
| <div class="block">Gets a new instance of data streamer associated with given cache name. Data streamer |
| is responsible for loading external data into in-memory data grid. For more information |
| refer to <a href="../../../org/apache/ignite/IgniteDataStreamer.html" title="interface in org.apache.ignite"><code>IgniteDataStreamer</code></a> documentation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#dataStreamer(java.lang.String)">dataStreamer</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>cacheName</code> - Cache name (<code>null</code> for default cache).</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Data streamer.</dd></dl> |
| </li> |
| </ul> |
| <a name="fileSystem(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fileSystem</h4> |
| <pre>public <a href="../../../org/apache/ignite/IgniteFileSystem.html" title="interface in org.apache.ignite">IgniteFileSystem</a> fileSystem(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> |
| <div class="block">Gets an instance of IGFS (Ignite In-Memory File System). If one is not |
| configured then <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> will be thrown. |
| <p> |
| IGFS is fully compliant with Hadoop <code>FileSystem</code> APIs and can |
| be plugged into Hadoop installations. For more information refer to |
| documentation on Hadoop integration shipped with Ignite.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#fileSystem(java.lang.String)">fileSystem</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - IGFS name.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>IGFS instance.</dd></dl> |
| </li> |
| </ul> |
| <a name="fileSystems()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fileSystems</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'><</span><a href="../../../org/apache/ignite/IgniteFileSystem.html" title="interface in org.apache.ignite">IgniteFileSystem</a><span class='angle_bracket'>></span> fileSystems()</pre> |
| <div class="block">Gets all instances of IGFS (Ignite In-Memory File System).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#fileSystems()">fileSystems</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Collection of IGFS instances.</dd></dl> |
| </li> |
| </ul> |
| <a name="plugin(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>plugin</h4> |
| <pre>public <span class='angle_bracket'><</span>T extends <a href="../../../org/apache/ignite/plugin/IgnitePlugin.html" title="interface in org.apache.ignite.plugin">IgnitePlugin</a><span class='angle_bracket'>></span> T plugin(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name) |
| throws <a href="../../../org/apache/ignite/plugin/PluginNotFoundException.html" title="class in org.apache.ignite.plugin">PluginNotFoundException</a></pre> |
| <div class="block">Gets an instance of deployed Ignite plugin.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#plugin(java.lang.String)">plugin</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - Plugin type.</dd><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Plugin name.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Plugin instance.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../org/apache/ignite/plugin/PluginNotFoundException.html" title="class in org.apache.ignite.plugin">PluginNotFoundException</a></code> - If plugin for the given name was not found.</dd></dl> |
| </li> |
| </ul> |
| <a name="close()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>close</h4> |
| <pre>public void close() |
| throws <a href="../../../org/apache/ignite/IgniteException.html" title="class in org.apache.ignite">IgniteException</a></pre> |
| <div class="block">Closes <code>this</code> instance of grid. This method is identical to calling |
| <a href="../../../org/apache/ignite/Ignition.html#stop(java.lang.String, boolean)"><code>G.stop(gridName, true)</code></a>. |
| <p> |
| The method is invoked automatically on objects managed by the |
| <code>try-with-resources</code> statement.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true#close()" title="class or interface in java.lang">close</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#close()">close</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../org/apache/ignite/IgniteException.html" title="class in org.apache.ignite">IgniteException</a></code> - If failed to stop grid.</dd></dl> |
| </li> |
| </ul> |
| <a name="atomicSequence(java.lang.String, long, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>atomicSequence</h4> |
| <pre>@Nullable |
| public <a href="../../../org/apache/ignite/IgniteAtomicSequence.html" title="interface in org.apache.ignite">IgniteAtomicSequence</a> atomicSequence(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| long initVal, |
| boolean create)</pre> |
| <div class="block">Will get an atomic sequence from cache and create one if it has not been created yet and <code>create</code> flag |
| is <code>true</code>.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#atomicSequence(java.lang.String, long, boolean)">atomicSequence</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Sequence name.</dd><dd><code>initVal</code> - Initial value for sequence. Ignored if <code>create</code> flag is <code>false</code>.</dd><dd><code>create</code> - Boolean flag indicating whether data structure should be created if does not exist.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Sequence for the given name.</dd></dl> |
| </li> |
| </ul> |
| <a name="atomicLong(java.lang.String, long, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>atomicLong</h4> |
| <pre>@Nullable |
| public <a href="../../../org/apache/ignite/IgniteAtomicLong.html" title="interface in org.apache.ignite">IgniteAtomicLong</a> atomicLong(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| long initVal, |
| boolean create)</pre> |
| <div class="block">Will get a atomic long from cache and create one if it has not been created yet and <code>create</code> flag |
| is <code>true</code>.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#atomicLong(java.lang.String, long, boolean)">atomicLong</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Name of atomic long.</dd><dd><code>initVal</code> - Initial value for atomic long. Ignored if <code>create</code> flag is <code>false</code>.</dd><dd><code>create</code> - Boolean flag indicating whether data structure should be created if does not exist.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Atomic long.</dd></dl> |
| </li> |
| </ul> |
| <a name="atomicReference(java.lang.String,java.lang.Object,boolean)"> |
| <!-- --> |
| </a><a name="atomicReference(java.lang.String, T, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>atomicReference</h4> |
| <pre>@Nullable |
| public <span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteAtomicReference.html" title="interface in org.apache.ignite">IgniteAtomicReference</a><span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> atomicReference(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| @Nullable |
| T initVal, |
| boolean create)</pre> |
| <div class="block">Will get a atomic reference from cache and create one if it has not been created yet and <code>create</code> flag |
| is <code>true</code>.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#atomicReference(java.lang.String, T, boolean)">atomicReference</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Atomic reference name.</dd><dd><code>initVal</code> - Initial value for atomic reference. Ignored if <code>create</code> flag is <code>false</code>.</dd><dd><code>create</code> - Boolean flag indicating whether data structure should be created if does not exist.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Atomic reference for the given name.</dd></dl> |
| </li> |
| </ul> |
| <a name="atomicStamped(java.lang.String,java.lang.Object,java.lang.Object,boolean)"> |
| <!-- --> |
| </a><a name="atomicStamped(java.lang.String, T, S, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>atomicStamped</h4> |
| <pre>@Nullable |
| public <span class='angle_bracket'><</span>T,S<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteAtomicStamped.html" title="interface in org.apache.ignite">IgniteAtomicStamped</a><span class='angle_bracket'><</span>T,S<span class='angle_bracket'>></span> atomicStamped(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| @Nullable |
| T initVal, |
| @Nullable |
| S initStamp, |
| boolean create)</pre> |
| <div class="block">Will get a atomic stamped from cache and create one if it has not been created yet and <code>create</code> flag |
| is <code>true</code>.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#atomicStamped(java.lang.String, T, S, boolean)">atomicStamped</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Atomic stamped name.</dd><dd><code>initVal</code> - Initial value for atomic stamped. Ignored if <code>create</code> flag is <code>false</code>.</dd><dd><code>initStamp</code> - Initial stamp for atomic stamped. Ignored if <code>create</code> flag is <code>false</code>.</dd><dd><code>create</code> - Boolean flag indicating whether data structure should be created if does not exist.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Atomic stamped for the given name.</dd></dl> |
| </li> |
| </ul> |
| <a name="countDownLatch(java.lang.String, int, boolean, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>countDownLatch</h4> |
| <pre>@Nullable |
| public <a href="../../../org/apache/ignite/IgniteCountDownLatch.html" title="interface in org.apache.ignite">IgniteCountDownLatch</a> countDownLatch(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| int cnt, |
| boolean autoDel, |
| boolean create)</pre> |
| <div class="block">Gets or creates count down latch. If count down latch is not found in cache and <code>create</code> flag |
| is <code>true</code>, it is created using provided name and count parameter.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#countDownLatch(java.lang.String, int, boolean, boolean)">countDownLatch</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Name of the latch.</dd><dd><code>cnt</code> - Count for new latch creation. Ignored if <code>create</code> flag is <code>false</code>.</dd><dd><code>autoDel</code> - <code>True</code> to automatically delete latch from cache when its count reaches zero. |
| Ignored if <code>create</code> flag is <code>false</code>.</dd><dd><code>create</code> - Boolean flag indicating whether data structure should be created if does not exist.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Count down latch for the given name.</dd></dl> |
| </li> |
| </ul> |
| <a name="queue(java.lang.String, int, org.apache.ignite.configuration.CollectionConfiguration)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>queue</h4> |
| <pre>@Nullable |
| public <span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteQueue.html" title="interface in org.apache.ignite">IgniteQueue</a><span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> queue(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| int cap, |
| <a href="../../../org/apache/ignite/configuration/CollectionConfiguration.html" title="class in org.apache.ignite.configuration">CollectionConfiguration</a> cfg)</pre> |
| <div class="block">Will get a named queue from cache and create one if it has not been created yet and <code>cfg</code> is not |
| <code>null</code>. |
| If queue is present already, queue properties will not be changed. Use |
| collocation for <a href="../../../org/apache/ignite/cache/CacheMode.html#PARTITIONED"><code>CacheMode.PARTITIONED</code></a> caches if you have lots of relatively |
| small queues as it will make fetching, querying, and iteration a lot faster. If you have |
| few very large queues, then you should consider turning off collocation as they simply |
| may not fit in a single node's memory.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#queue(java.lang.String, int, org.apache.ignite.configuration.CollectionConfiguration)">queue</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Name of queue.</dd><dd><code>cap</code> - Capacity of queue, <code>0</code> for unbounded queue. Ignored if <code>cfg</code> is <code>null</code>.</dd><dd><code>cfg</code> - Queue configuration if new queue should be created.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Queue with given properties.</dd></dl> |
| </li> |
| </ul> |
| <a name="set(java.lang.String, org.apache.ignite.configuration.CollectionConfiguration)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre>@Nullable |
| public <span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/IgniteSet.html" title="interface in org.apache.ignite">IgniteSet</a><span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> set(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="../../../org/apache/ignite/configuration/CollectionConfiguration.html" title="class in org.apache.ignite.configuration">CollectionConfiguration</a> cfg)</pre> |
| <div class="block">Will get a named set from cache and create one if it has not been created yet and <code>cfg</code> is not |
| <code>null</code>.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#set(java.lang.String, org.apache.ignite.configuration.CollectionConfiguration)">set</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Set name.</dd><dd><code>cfg</code> - Set configuration if new set should be created.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Set with given properties.</dd></dl> |
| </li> |
| </ul> |
| <a name="affinity(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>affinity</h4> |
| <pre>public <span class='angle_bracket'><</span>K<span class='angle_bracket'>></span> <a href="../../../org/apache/ignite/cache/affinity/Affinity.html" title="interface in org.apache.ignite.cache.affinity">Affinity</a><span class='angle_bracket'><</span>K<span class='angle_bracket'>></span> affinity(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cacheName)</pre> |
| <div class="block">Gets affinity service to provide information about data partitioning |
| and distribution.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/apache/ignite/Ignite.html#affinity(java.lang.String)">affinity</a></code> in interface <code><a href="../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a></code></dd> |
| <dt><span class="strong">Type Parameters:</span></dt><dd><code>K</code> - Cache key type.</dd><dt><span class="strong">Parameters:</span></dt><dd><code>cacheName</code> - Cache name.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Affinity.</dd></dl> |
| </li> |
| </ul> |
| <a name="toString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="writeExternal(java.io.ObjectOutput)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeExternal</h4> |
| <pre>public void writeExternal(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/ObjectOutput.html?is-external=true" title="class or interface in java.io">ObjectOutput</a> out) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true#writeExternal(java.io.ObjectOutput)" title="class or interface in java.io">writeExternal</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="readExternal(java.io.ObjectInput)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>readExternal</h4> |
| <pre>public void readExternal(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/ObjectInput.html?is-external=true" title="class or interface in java.io">ObjectInput</a> in) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true#readExternal(java.io.ObjectInput)" title="class or interface in java.io">readExternal</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code></dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/IgniteSpringBean.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../index-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><em>Ignite - In-Memory Data Fabric</em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../org/apache/ignite/IgniteSpring.html" title="class in org.apache.ignite"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../org/apache/ignite/IgniteState.html" title="enum in org.apache.ignite"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../index.html?org/apache/ignite/IgniteSpringBean.html" target="_top">Frames</a></li> |
| <li><a href="IgniteSpringBean.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small><table width="100%" border="0" cellspacing=0 cellpadding=0 style="padding: 5px"> <tr> <td> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <a target=_blank href="https://incubator.apache.org/projects/ignite.html"><nobr>2015 Copyright © Apache Software Foundation</nobr></a> </td> </tr> </tbody> </table> </td> <td width="100%" align="right" valign="center"> <a href="https://twitter.com/ApacheIgnite" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @ApacheIgnite</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> </td> </tr> <tr> <td colspan="2" valign="top" align="left"> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <b>Ignite Fabric</b> </td> <td>: ver. <strong>1.1.0-incubating</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>: May 20 2015 </td> </tr> </tbody> </table> </td> </tr> </table></small></p> |
| <!--FOOTER--><script type='text/javascript'>SyntaxHighlighter.all();dp.SyntaxHighlighter.HighlightAll('code');</script> |
| </body> |
| |
| </html> |