class ProbabilitySampler implements Sampler {

    @Override
    public boolean isSampled(Id traceId) {
        final long leastSignificantBits = traceId.getLeastSignificantBits();
        return leastSignificantBits > lowerBound && leastSignificantBits < higherBound;
    }

    private  ProbabilitySampler(double samplingRate);

}