Hi, Call a method like this and pass closure that returns true for data entries that match your criteria in apply() method:
cache.loadCache(new P2<Integer, String>() {
@Override public boolean apply(Integer key, String val) {
// Accept only even numbers.
return key % 2 == 0;
}
}, cnt);
Variable cnt is an number you may use to limit entry count, you may omit it.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
