Class UPerf.Invoker

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    UPerf

    private class UPerf.Invoker
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Detail

      • dests

        private final java.util.List<Address> dests
      • latch

        private final java.util.concurrent.CountDownLatch latch
      • targets

        private final java.util.List<Address> targets
      • running

        private volatile boolean running
    • Constructor Detail

      • Invoker

        public Invoker​(java.util.Collection<Address> dests,
                       java.util.concurrent.CountDownLatch latch)
    • Method Detail

      • stop

        public void stop()
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • pickTarget

        private Address pickTarget()
      • pickAnycastTargets

        private void pickAnycastTargets​(java.util.List<Address> anycast_targets)