ServicePeerAllocationStrategy.Random
Keywords: net.corda.testing.node.InMemoryMessagingNetwork.ServicePeerAllocationStrategy.Random class
Date: 2023-09-18

net.corda.testing.node

## Class ServicePeerAllocationStrategy.Random

- net.corda.testing.node.InMemoryMessagingNetwork.ServicePeerAllocationStrategy.Random

- Enclosing class:
    InMemoryMessagingNetwork.ServicePeerAllocationStrategy

      public static class ServicePeerAllocationStrategy.Random

- - ### Constructor Detail

    - #### Random

          public Random(@NotNull
                        java.util.SplittableRandom random)

    - #### Random

          public Random()

  - ### Method Detail

    - #### pickNext

          public <A> A pickNext(@NotNull
                                net.corda.testing.node.InMemoryMessagingNetwork.DistributedServiceHandle service,
                                @NotNull
                                java.util.List<? extends A> pickFrom)

    - #### getRandom

          @NotNull
          public java.util.SplittableRandom getRandom()