use of org.nustaq.reallive.impl.tablespace.TableSpaceActor in project kontraktor by RuedigerMoeller.
the class DataClient method processSharded.
public void processSharded(String tableName, RLPredicate<Record> predicate, int shardNo, Callback<Record> cb) {
TableSpaceActor shard = shards[shardNo];
shard.getTableAsync(tableName).then(t -> {
RealLiveTable table = t;
table.forEach(predicate, cb);
});
}
Aggregations