ITerminableIntermediateFuture<Tuple2<ICoreDependentService, Double>> res = SServiceProvider.rankServicesWithScores(fut, ce, new CountThresholdSearchTerminationDecider<ICoreDependentService>(10)); res.addResultListener(new IResultListener<Collection<Tuple2<ICoreDependentService, Double>>>()