Hello yucigou, 

You code nice only for implementation CreatedExpiryPolicy, Ignite cache
configuration has signature 
setExpiryPolicyFactory(Factory<? extends ExpiryPolicy> factory)

you can create any logic for expiration, for example depends from stock
market or earth shake.
In such implementation TimeToLive is not defined.



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/How-to-get-the-configuration-of-a-given-cache-in-Apache-Ignite-tp5890p5891.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to