InMemoryMessagingNetwork.LatencyCalculator
Keywords: net.corda.testing.node.InMemoryMessagingNetwork.LatencyCalculator interface
Date: 2023-09-18

net.corda.testing.node

## Interface InMemoryMessagingNetwork.LatencyCalculator

- Enclosing class:
    InMemoryMessagingNetwork

      public static InMemoryMessagingNetwork.LatencyCalculator

  Implement this interface in order to inject artificial latency between sender/recipient pairs.

- - ### Constructor Detail

    - #### LatencyCalculator

          public LatencyCalculator()

  - ### Method Detail

    - #### between

          @NotNull
          java.time.Duration between(@NotNull
                                              SingleMessageRecipient sender,
                                              @NotNull
                                              SingleMessageRecipient receiver)