org.elasticsearch.monitor.dump.thread
Class ThreadDumpContributor

java.lang.Object
  extended by org.elasticsearch.monitor.dump.thread.ThreadDumpContributor
All Implemented Interfaces:
DumpContributor

public class ThreadDumpContributor
extends java.lang.Object
implements DumpContributor


Field Summary
static java.lang.String THREAD_DUMP
           
 
Constructor Summary
ThreadDumpContributor(java.lang.String name, Settings settings)
           
 
Method Summary
 void contribute(Dump dump)
           
 long[] findDeadlockedThreads()
           
 java.lang.String getName()
           
 java.lang.management.ThreadInfo[] getThreadInfo(long[] threadIds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THREAD_DUMP

public static final java.lang.String THREAD_DUMP
See Also:
Constant Field Values
Constructor Detail

ThreadDumpContributor

@Inject
public ThreadDumpContributor(java.lang.String name,
                                    Settings settings)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface DumpContributor

contribute

public void contribute(Dump dump)
                throws DumpContributionFailedException
Specified by:
contribute in interface DumpContributor
Throws:
DumpContributionFailedException

findDeadlockedThreads

public long[] findDeadlockedThreads()

getThreadInfo

public java.lang.management.ThreadInfo[] getThreadInfo(long[] threadIds)