public class EventLoopThreadHolder extends Object implements ThreadHolder
TIMING_ERROR| Constructor and Description |
|---|
EventLoopThreadHolder(long monitorIntervalNS,
CoreEventLoop eventLoop) |
| Modifier and Type | Method and Description |
|---|---|
void |
dumpThread(long startedNS,
long nowNS) |
String |
getName() |
boolean |
isAlive() |
void |
monitorThreadDelayed(long actionCallDelayNS) |
void |
reportFinished() |
void |
resetTimers() |
boolean |
shouldLog(long nowNS) |
long |
startedNS() |
protected long |
timingError() |
long |
timingTolerance() |
public EventLoopThreadHolder(long monitorIntervalNS,
CoreEventLoop eventLoop)
public boolean isAlive()
isAlive in interface ThreadHolderpublic void reportFinished()
reportFinished in interface ThreadHolderpublic long startedNS()
startedNS in interface ThreadHolderpublic void resetTimers()
resetTimers in interface ThreadHolderpublic boolean shouldLog(long nowNS)
shouldLog in interface ThreadHolderpublic void dumpThread(long startedNS,
long nowNS)
dumpThread in interface ThreadHolderpublic long timingTolerance()
timingTolerance in interface ThreadHolderprotected long timingError()
public String getName()
getName in interface ThreadHolderpublic void monitorThreadDelayed(long actionCallDelayNS)
monitorThreadDelayed in interface ThreadHolderCopyright © 2021. All rights reserved.