Lines Matching defs:lifetime
23 * Creates new handlers backed by threads with a specified lifetime.
27 * @param lifetime The lifetime of the associated handler's thread.
31 public Handler create(Lifetime lifetime, String threadName) {
35 lifetime.add(new SafeCloseable() {
46 * @param lifetime The lifetime of the associated handler's thread.
51 public Handler create(Lifetime lifetime, String threadName, int javaThreadPriority) {
56 lifetime.add(new SafeCloseable() {