Hazelcast IMap - How to clear all the elements on loadAll(true)
<p>My cache will have elements which might not be in sync DB. </p>

<p>For example,
In some use case i used set/putTransient in IMap, so that the element will only be in the cache. </p>

<p>IMap.loadAll(true) doesn't clear those unsynced elements from cache. </p>

<p>Advise please... </p>

<p>update: My reload command</p>

<pre><code>@JMXMethod
    public void reload(){
        log.info("Reloading Cache - [{}] ... ", cachename());
            cache().loadAll(true);  
    }
</code></pre>