Package org.elasticsearch.transport
Interface DisruptableMockTransport.RebootSensitiveRunnable
- All Superinterfaces:
Runnable
- Enclosing class:
- DisruptableMockTransport
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 TypeMethodDescriptionvoid
Cleanup action to run if the destination node reboots.
-
Method Details
-
ifRebooted
void ifRebooted()Cleanup action to run if the destination node reboots.
-