Interface DisruptableMockTransport.RebootSensitiveRunnable

All Superinterfaces:
Runnable
Enclosing class:
DisruptableMockTransport

public static interface DisruptableMockTransport.RebootSensitiveRunnable extends Runnable
When simulating sending requests to another node which might have rebooted, it's not realistic just to drop the action if the node reboots; instead we need to simulate the error response that comes back.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cleanup action to run if the destination node reboots.

    Methods inherited from interface java.lang.Runnable

    run
  • Method Details

    • ifRebooted

      void ifRebooted()
      Cleanup action to run if the destination node reboots.