1 Reply Latest reply on Nov 12, 2015 8:21 AM by William Burns

    Fixed expiry time in distributed-cache

    Gnanaguru Sattanathan Novice

      Hi,

       

      I am using infinispan standalone server, where I have configured cache expiration to 24 hours. But I want the cache to expire at a fixed time, say 01:00 AM in the morning everyday. Is it possible ?

       

      Is possible to configure a time stamp ? The following is my existing configuration:

       

      <distributed-cache name="test-cache-area" mode="SYNC" segments="20" owners="2" remote-timeout="30000" start="EAGER">

                          <locking isolation="READ_COMMITTED" acquire-timeout="30000" concurrency-level="1000" striping="false"/>

                          <transaction mode="NONE"/>

                          <!-- <compatibility enabled="true"/> -->

                          <eviction strategy="" max-entries="10000"/>

                          <!--  remove from cache if idle for 24h -->

                          <expiration max-idle="86400000"/>

         </distributed-cache>               

       

      Regards

      Guru

      @tallguru