@Override
        public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period,
                                                      TimeUnit unit) {
            scheduledJobs.add(command);
            initialDelayNanos.add(unit.toNanos(initialDelay));
            periodNanos.add(unit.toNanos(period));
            final ScheduledFuture<?> scheduledFuture = mock(ScheduledFuture.class);
            scheduledFutures.add(scheduledFuture);
            return scheduledFuture;
        }
A Comparator which includes the weight of an endpoint to compare.
core/src/test/java/com/linecorp/armeria/common/loadbalancer/RampingUpLoadBalancerTest.java