Top Fields Constructors Methods
io.vertx.core.impl

public Class VertxThread

extends FastThreadLocalThread
Class Inheritance
Imports
io.netty.util.concurrent.FastThreadLocalThread, io.vertx.core.impl.btc.ThreadInfo, java.util.concurrent.TimeUnit

Author
Norman Maurer

Field Summary

Modifier and TypeField and Description
pack-priv ContextInternal
pack-priv final ThreadInfo
pack-priv ClassLoader
private final boolean

Constructor Summary

AccessConstructor and Description
public
VertxThread(Runnable target, String name, boolean worker, long maxExecTime, TimeUnit maxExecTimeUnit)

Method Summary

Modifier and TypeMethod and Description
pack-priv ContextInternal

Returns:

the current context of this thread, this method must be called from the current thread
context
()

pack-priv void
pack-priv void
public boolean
public long
public TimeUnit
public long
Inherited from io.netty.util.concurrent.FastThreadLocalThread:
permitBlockingCallssetThreadLocalMapthreadLocalMapwillCleanupFastThreadLocalswillCleanupFastThreadLocals

Field Detail

contextback to summary
pack-priv ContextInternal context
infoback to summary
pack-priv final ThreadInfo info
topLevelTCCLback to summary
pack-priv ClassLoader topLevelTCCL
workerback to summary
private final boolean worker

Constructor Detail

VertxThreadback to summary
public VertxThread(Runnable target, String name, boolean worker, long maxExecTime, TimeUnit maxExecTimeUnit)

Method Detail

contextback to summary
pack-priv ContextInternal context()
Returns:ContextInternal

the current context of this thread, this method must be called from the current thread

executeEndback to summary
pack-priv void executeEnd()
executeStartback to summary
pack-priv void executeStart()
isWorkerback to summary
public boolean isWorker()
maxExecTimeback to summary
public long maxExecTime()
maxExecTimeUnitback to summary
public TimeUnit maxExecTimeUnit()
startTimeback to summary
public long startTime()