Top Description Fields Constructors Methods
io.vertx.core.impl.btc

public Class BlockedThreadEvent

extends Object
Class Inheritance

A class containing status details about how long a particular thread has been blocked, and how long it is allowed to be blocked before warnings start getting logged. All times and durations are in nanoseconds.

Field Summary

Modifier and TypeField and Description
private final long
private final long
private final Thread
private final long

Constructor Summary

AccessConstructor and Description
public
BlockedThreadEvent(Thread
The thread being checked
thread
,
long
The duration the thread has been blocked, in nanoseconds
duration
,
long
The max execution time the thread is allowed, in nanoseconds
maxExecTime
,
long
The max time a thread can be blocked before stack traces get logged, in nanoseconds
warningExceptionTime
)

Create an instance of BlockedThreadEvent

Method Summary

Modifier and TypeMethod and Description
public long
public long
public Thread
public long
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

durationback to summary
private final long duration
maxExecTimeback to summary
private final long maxExecTime
threadback to summary
private final Thread thread
warningExceptionTimeback to summary
private final long warningExceptionTime

Constructor Detail

BlockedThreadEventback to summary
public BlockedThreadEvent(Thread thread, long duration, long maxExecTime, long warningExceptionTime)

Create an instance of BlockedThreadEvent

Parameters
thread:Thread

The thread being checked

duration:long

The duration the thread has been blocked, in nanoseconds

maxExecTime:long

The max execution time the thread is allowed, in nanoseconds

warningExceptionTime:long

The max time a thread can be blocked before stack traces get logged, in nanoseconds

Method Detail

durationback to summary
public long duration()
maxExecTimeback to summary
public long maxExecTime()
threadback to summary
public Thread thread()
warningExceptionTimeback to summary
public long warningExceptionTime()