@Override
            public int allocate(Bucket<?> bucket) {
                return ThreadLocalRandom.current().nextInt(bucket.getPartitionCount());
            }
Some standard partitioning strategies for use in {@link Bucket}s.
helper/src/main/java/me/lucko/helper/bucket/partitioning/PartitioningStrategies.java