package com.google.ipc.invalidation.util;
-import com.google.common.base.Preconditions;
-
import java.util.Random;
/**
double smearFactor = (2 * random.nextDouble() - 1.0) * smearFraction;
return (int) Math.ceil(delay + delay * smearFactor);
}
-
- /** Changes the smear percent of this object to be {@code smearPercent}. */
- public void changeSmearPercent(int smearPercent) {
- }
}