this.keyBloomFilter = keyBloomFilter;
}
public RoutingMechanism createRoutingMechanism(FutureRouting futureRouting) {
final FutureResponse[] futureResponses = new FutureResponse[parallel()];
RoutingMechanism routingMechanism = new RoutingMechanism(
new AtomicReferenceArray<FutureResponse>(futureResponses), futureRouting, peerFilters);
routingMechanism.maxDirectHits(maxDirectHits());
routingMechanism.maxFailures(maxFailures());
routingMechanism.maxNoNewInfo(maxNoNewInfo());
routingMechanism.maxSucess(maxSuccess());
return routingMechanism;
}