This class store the cache value with the characteristic of expiration time. If a service,method,consumer or provided is configured with key
cache
with value
expiring, dubbo initialize the instance of this class using
ExpiringCacheFactory to store method's returns value
to server from store without making method call.
e.g. 1) <dubbo:service cache="expiring" cache.seconds="60" cache.interval="10"/>
2) <dubbo:consumer cache="expiring" />
It used constructor argument url instance cache.seconds value to decide time to live of cached object.Default value of it is 180 second.
It used constructor argument url instance cache.interval value for cache value expiration interval.Default value of this is 4 second