we use ignite with spring boot application and seeing issue in production
where few cache entries are not being expired. our configuration is based on
XML, sample configuration as follows - 


<bean id="expiry12Policy" class="javax.cache.expiry.CreatedExpiryPolicy"
factory-method="factoryOf">
        <constructor-arg>
            <bean class="javax.cache.expiry.Duration">
                <constructor-arg value="SECONDS"/>
                <constructor-arg value="180"/>
            </bean>
        </constructor-arg>
    </bean>

we apply this expiry policy on cache configuration as follows - 

<bean class="org.apache.ignite.configuration.CacheConfiguration">
                    <property name="cacheMode" value="PARTITIONED"/>
                    <property name=&quot;name&quot;
value=&quot;&lt;b>#{{cacheName}}*"/>
                    <property name="expiryPolicyFactory"
ref="expiry12Policy"/>
                </bean>



So I have a questions as follows -
  - Does this configuration looks OK OR we are missing something here ? 
  - why we issues with few cache entries ? 
  - Is there any way we can have a hook to expiry ? OR we can evict the
cache using API ? 
 
       



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to