Class ClearScrollController

java.lang.Object
org.elasticsearch.action.search.ClearScrollController
All Implemented Interfaces:
java.lang.Runnable

public final class ClearScrollController
extends java.lang.Object
implements java.lang.Runnable
  • Method Summary

    Modifier and Type Method Description
    static void closeContexts​(DiscoveryNodes nodes, SearchTransportService searchTransportService, java.util.Collection<SearchContextIdForNode> contextIds, ActionListener<java.lang.Integer> listener)
    Closes the given context id and reports the number of freed contexts via the listener
    void run()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface java.lang.Runnable
    • closeContexts

      public static void closeContexts​(DiscoveryNodes nodes, SearchTransportService searchTransportService, java.util.Collection<SearchContextIdForNode> contextIds, ActionListener<java.lang.Integer> listener)
      Closes the given context id and reports the number of freed contexts via the listener