public class LoggingExecutionTimeExceededHandler extends Object implements IExecutionTimeExceededHandler
IExecutionTimeExceededHandler.| Constructor and Description |
|---|
LoggingExecutionTimeExceededHandler(boolean bEmitStackTrace) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmitStackTrace() |
void |
onExecutionTimeExceeded(String sMsg,
long nExecutionMillis)
Called when the execution time was exceeded
|
String |
toString() |
public LoggingExecutionTimeExceededHandler(boolean bEmitStackTrace)
public boolean isEmitStackTrace()
public void onExecutionTimeExceeded(@Nonnull String sMsg, @Nonnegative long nExecutionMillis)
IExecutionTimeExceededHandleronExecutionTimeExceeded in interface IExecutionTimeExceededHandlersMsg - The message to locate the sourcenExecutionMillis - The milliseconds the execution tookCopyright © 2006–2015 phloc systems. All rights reserved.