| 程序包 | 说明 |
|---|---|
| cn.sliew.milky.common.watchdog |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultThreadWatchdog |
class |
Noop |
| 限定符和类型 | 方法和说明 |
|---|---|
ThreadWatchdog |
ThreadWatchdogs.newInstance(long interval,
long maxExecutionTime,
LongSupplier relativeTimeSupplier,
BiFunction<Long,Runnable,ScheduledFuture<?>> scheduler)
Returns an implementation that checks for each fixed interval if there are threads that have invoked
register()
and not unregister() and have been in this state for longer than the specified max execution interval and
then interrupts these threads. |
ThreadWatchdog |
ThreadWatchdogs.noop() |
Copyright © 2021. All rights reserved.