java.lang.Object
org.elasticsearch.common.network.ThreadWatchdog
Watchdog mechanism for making sure that no transport thread spends too long blocking the event loop.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPer-thread class which keeps track of activity on that thread, represented as alongwhich is incremented every time an activity starts or stops. - 
Field Summary
FieldsModifier and TypeFieldDescription - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidrun(Settings settings, ThreadPool threadPool, Lifecycle lifecycle)  
- 
Field Details
- 
NETWORK_THREAD_WATCHDOG_INTERVAL
 - 
NETWORK_THREAD_WATCHDOG_QUIET_TIME
 
 - 
 - 
Constructor Details
- 
ThreadWatchdog
public ThreadWatchdog() 
 - 
 - 
Method Details
- 
getActivityTrackerForCurrentThread
- Returns:
 - an activity tracker for activities on the current thread.
 
 - 
run
 
 -