| 接口 | 说明 |
|---|---|
| BooleanSignal | |
| ResourceLifecycle<T> | |
| Watchdog.JobInterrupttedHandler | |
| Watchdog.WatchJob |
| 类 | 说明 |
|---|---|
| ConcurrentResourceContainer<T> | |
| ConditionTrafficLight |
another implementation of
TrafficLight with Condition on JDK5 |
| ThreadContext |
A ThreadContext provides a means of binding and unbinding objects to the
current thread based on key/value pairs.
|
| TrafficLight |
red/green light: thread will be blocked when red light is on until the light
turns to green.
|
| Watchdog |
a watchdog is a controllable thread who does the
Watchdog.WatchJob at
intervals and takes orders such as Watchdog.suspend(), Watchdog.resume() or
Watchdog.stop() from the caller. of course we can view its status at any time
by calling Watchdog.isJobDoing(), Watchdog.isSleeping() or
Watchdog.isSuspended(). |
Copyright © 2017. All rights reserved.