default:
throw new IllegalArgumentException("Unknown blocking cache type.");
}
}
BlockingStrategy blockingStrategy=null;
switch (config.blockingStrategyType) {
case ANCESTOR:
blockingStrategy=new AncestorBlocking(directBlockingChecker,blockingSignatureCache);
break;
case ANYWHERE: