remove writeOpQueueFactory

for writeQueueFactory the buffer of the element is nulled by memcache
before remove is called, thus we are not able to determine the size of
element while removing, We can potentially work around this by adding a
wrapper to keep track of size but that will have its extra overhead,
Also verified from the heap dump that the growing queue was the queue
for opQueue.
This commit is contained in:
nishantmonu51 2014-02-07 20:00:25 +05:30
parent db93e45bef
commit dc097081a6
1 changed files with 0 additions and 1 deletions

View File

@ -69,7 +69,6 @@ public class MemcachedCache implements Cache
.setOpQueueMaxBlockTime(config.getTimeout())
.setOpTimeout(config.getTimeout())
.setOpQueueFactory(queueFactory)
.setWriteOpQueueFactory(queueFactory)
.build(),
AddrUtil.getAddresses(config.getHosts())
),