ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Kuznetsov <akuznet...@gridgain.com>
Subject ClusterGroup is missing isEmpty() method.
Date Thu, 16 Apr 2015 04:01:28 GMT
Hi!

Recently I have to write a lot of code involving *ClusterGroup*
manipulations.
And found my self that I missed *isEmpty()* method on *ClusterGroup* class.
Instead I forced to write *prj.nodes().isEmpty().*

Also I think that *isEmpty()*  method could be implemented in more
efficient (no need to iterate over all nodes) and optimized manner, without
creating underlying collection for nodes.


Thoughts?

-- 
Alexey Kuznetsov
GridGain Systems
www.gridgain.com

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