Package org.elasticsearch.monitor.jvm
Class HotThreads
- java.lang.Object
-
- org.elasticsearch.monitor.jvm.HotThreads
-
public class HotThreads extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HotThreads()
-
Method Summary
Modifier and Type Method Description HotThreadsbusiestThreads(int busiestThreads)java.lang.Stringdetect()HotThreadsignoreIdleThreads(boolean ignoreIdleThreads)HotThreadsinterval(TimeValue interval)HotThreadsthreadElementsSnapshotCount(int threadElementsSnapshotCount)HotThreadsthreadElementsSnapshotDelay(TimeValue threadElementsSnapshotDelay)HotThreadstype(java.lang.String type)
-
-
-
Method Detail
-
interval
public HotThreads interval(TimeValue interval)
-
busiestThreads
public HotThreads busiestThreads(int busiestThreads)
-
ignoreIdleThreads
public HotThreads ignoreIdleThreads(boolean ignoreIdleThreads)
-
threadElementsSnapshotDelay
public HotThreads threadElementsSnapshotDelay(TimeValue threadElementsSnapshotDelay)
-
threadElementsSnapshotCount
public HotThreads threadElementsSnapshotCount(int threadElementsSnapshotCount)
-
type
public HotThreads type(java.lang.String type)
-
detect
public java.lang.String detect() throws java.lang.Exception- Throws:
java.lang.Exception
-
-