How to set Infinispan File store to store changs?

When I use the following configuration , the cache creates a file when the object is created

but not when I change it :-(

 

 

    <namedCache name="my cache
<loaders passivation="false" shared="false" preload="true">
            <loader class="org.infinispan.loaders.file.FileCacheStore" fetchPersistentState="true"
                    ignoreModifications="false" purgeOnStartup="false">

            <properties>
                <property name="location" value="/usr/cache"/>
            </properties>
              </loader>
        </loaders>
    </namedCache>
 

I also tried adding

<property name="fsyncMode" value="perWrite"/>

still didnot work

Any ideas ?

 

Developer