reliably forcing Guava map eviction to take place

后端 未结 7 1492
夕颜
夕颜 2021-01-03 21:04

EDIT: I\'ve reorganized this question to reflect the new information that since became available.

This question is based on the responses to a quest

7条回答
  •  走了就别回头了
    2021-01-03 21:49

    I just added the method Cache.cleanUp() to Guava. Once you migrate from MapMaker to CacheBuilder you can use that to force eviction.

提交回复
热议问题