ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roman <rsht...@yahoo.com.INVALID>
Subject Re: Do we need "IgniteCache.randomEntry()" method?
Date Thu, 15 Oct 2015 14:26:40 GMT
And another ticket for randomEntry() https://issues.apache.org/jira/browse/IGNITE-1180 

     On Thursday, October 15, 2015 9:47 PM, Vladimir Ozerov <vozerov@gridgain.com> wrote:


We have the ticket about broken randomEntry() method:

This method can return null even if cache is not empty. And it is even
impossible to return an entry in constant time provided that concurrent
deletes and expirations could occur.

Do we really need this method? As for me it is better to deprecate it and
do not spend any efforts trying to make it work.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message