public class StuckThreadDetectionHandler extends Object implements HttpHandler
| Modifier and Type | Class and Description | 
|---|---|
static class  |  StuckThreadDetectionHandler.Builder  |  
static class  |  StuckThreadDetectionHandler.Wrapper  |  
| Modifier and Type | Field and Description | 
|---|---|
static int |  DEFAULT_THRESHOLD  |  
| Constructor and Description | 
|---|
StuckThreadDetectionHandler(HttpHandler next)  |  
StuckThreadDetectionHandler(int threshold, HttpHandler next)  |  
| Modifier and Type | Method and Description | 
|---|---|
long[] |  getStuckThreadIds()  |  
int |  getThreshold()  |  
void |  handleRequest(HttpServerExchange exchange) Handle the request.   |  
public static final int DEFAULT_THRESHOLD
public StuckThreadDetectionHandler(HttpHandler next)
public StuckThreadDetectionHandler(int threshold,
                                   HttpHandler next) public int getThreshold()
public void handleRequest(HttpServerExchange exchange) throws Exception
handleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeExceptionpublic long[] getStuckThreadIds()
Copyright © 2017 JBoss by Red Hat. All rights reserved.