How to use Apache Ignite as JSR 107 cache?
<p>I figured out a JSR 107 cache would be configured as follows:</p>

<pre><code>private final static CacheManager MANAGER =
             Caching.getCachingProvider().getCacheManager();
private final static Cache&lt;Long, Map&lt;Integer, BufferedImage&gt;&gt; CACHE;
private final static Cache&lt;Long, Map&lt;Integer, ImageIcon&gt;&gt; CACHE_SERIALIZABLE;
static {
    MutableConfiguration&lt;Long, Map&lt;Integer, BufferedImage&gt;&gt; config = new MutableConfiguration&lt;&gt;();
    MutableConfiguration&lt;Long, Map&lt;Integer, ImageIcon&gt;&gt; javaFXConfig = new MutableConfiguration&lt;&gt;();
    for(MutableConfiguration config0 : new MutableConfiguration[] {config, javaFXConfig}) {
        config0.setStoreByValue(false)
                .setStatisticsEnabled(true)
                .setExpiryPolicyFactory(FactoryBuilder.factoryOf(
                        new AccessedExpiryPolicy(new Duration(TimeUnit.HOURS, 1))));
    }
    CACHE = MANAGER.createCache("cache",
            config);
    CACHE_SERIALIZABLE = MANAGER.createCache("cache-serializable",
            javaFXConfig);
}
</code></pre>

<p>However after adding</p>

<pre><code>&lt;dependencies&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;org.apache.ignite&lt;/groupId&gt;
        &lt;artifactId&gt;ignite-core&lt;/artifactId&gt;
        &lt;version&gt;1.7.0&lt;/version&gt;
    &lt;/dependency&gt;
&lt;/dependencies&gt;
</code></pre>

<p>to <code>pom.xml</code> the cache doesn't store any values in the value-site <code>Map</code>s (an example is provided at <a href="https://github.com/krichter722/ignite-storage-failure" rel="nofollow noreferrer">https://github.com/krichter722/ignite-storage-failure</a>).</p>

<p>I would like to run a local in-memory setup with embedded Ignite only. Unfortunately there's not one "Getting started"-documentation about this use case - only complicated distributed setups and non-JSR 107/Ignite-specific configuration.</p>

<p>Since this is the absolute easiest use case for a caching framework it, this has to be possible.</p>

<p>I'm using Apache Ignite 1.7.0.</p>