logger.debug("Using ProbabilityDistribution class " + className +
" for " + kind.toString().toLowerCase());
ProbabilityDistribution pDist = ClassLoadUtil.newInstance(className,
ProbabilityDistribution.class);
pDist.init(minid, maxid, props, keyPrefix);
InvertibleShuffler shuffler = RealDistribution.getShuffler(kind,
maxid - minid);
return new ProbAccessDistribution(pDist, shuffler);
} catch (ClassNotFoundException e) {
throw new LinkBenchConfigError("Access distribution class " + className
+ " not successfully loaded: " + e.getMessage());