Class StuckThreadDetectionService
java.lang.Object
tech.riemann.nif.support.tiangong.connector.StuckThreadDetectionService
-
Method Summary
Modifier and TypeMethodDescriptionintstatic StuckThreadDetectionServicevoidvoidrecordRequestStart(String requestUri, String remoteAddress) voidshutdown()static StuckThreadDetectionServicestart(long thresholdMs, long checkIntervalMs)
-
Method Details
-
getInstance
-
start
-
recordRequestStart
-
recordRequestEnd
public void recordRequestEnd() -
getActiveRequestCount
public int getActiveRequestCount() -
shutdown
public void shutdown()
-