Package org.elasticsearch.action.search
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 voidcloseContexts(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 listenervoidrun()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:
runin interfacejava.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
-