Class CleanableResponseHandler<T extends TransportResponse>

java.lang.Object
org.elasticsearch.action.ActionListenerResponseHandler<T>
org.elasticsearch.cluster.coordination.CleanableResponseHandler<T>
All Implemented Interfaces:
Writeable.Reader<T>, TransportResponseHandler<T>

public class CleanableResponseHandler<T extends TransportResponse> extends ActionListenerResponseHandler<T>
Combines an ActionListenerResponseHandler with an ActionListener.runAfter action, but with an explicit type so that tests that simulate reboots can release resources without invoking the listener.
  • Constructor Details

  • Method Details

    • runCleanup

      public void runCleanup()