> @dugenkui03 with the clear method introduced on `Cache` interface, how do you 
> plan to use it?

@beiwei30 when we want to invalidate a ExpiringCache object and gc it.for 
example,yesterday's data does not apply today.

i think there should be implements of 'clear' and 'remove',because 
high-performance cache alway use "Future" as Value-If a calculation is canceled 
or fails, it needs to be removed from the cache. this idea can be found in 
《java并发编程实战java Concurrency in practiceh》5.6,page 87.

details in [PR](https://github.com/apache/incubator-dubbo/pull/2594)

[ Full content available at: 
https://github.com/apache/incubator-dubbo/issues/2592 ]
This message was relayed via gitbox.apache.org for 
notifications@dubbo.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to