equal
deleted
inserted
replaced
217 public DaemonThread() { |
217 public DaemonThread() { |
218 this.setDaemon(true); |
218 this.setDaemon(true); |
219 } |
219 } |
220 } |
220 } |
221 |
221 |
222 final static class ReadConf extends DaemonThread { |
222 static final class ReadConf extends DaemonThread { |
223 @Override |
223 @Override |
224 public void run() { |
224 public void run() { |
225 while (goOn) { |
225 while (goOn) { |
226 try { |
226 try { |
227 LogManager.getLogManager().readConfiguration(); |
227 LogManager.getLogManager().readConfiguration(); |
232 } |
232 } |
233 } |
233 } |
234 } |
234 } |
235 } |
235 } |
236 |
236 |
237 final static class AddLogger extends DaemonThread { |
237 static final class AddLogger extends DaemonThread { |
238 @Override |
238 @Override |
239 public void run() { |
239 public void run() { |
240 try { |
240 try { |
241 while (goOn) { |
241 while (goOn) { |
242 Logger l; |
242 Logger l; |
252 fail(x); |
252 fail(x); |
253 } |
253 } |
254 } |
254 } |
255 } |
255 } |
256 |
256 |
257 final static class DeadlockDetector extends Thread { |
257 static final class DeadlockDetector extends Thread { |
258 |
258 |
259 final Set<Long> deadlocked = Collections.synchronizedSet(new HashSet<Long>()); |
259 final Set<Long> deadlocked = Collections.synchronizedSet(new HashSet<Long>()); |
260 |
260 |
261 static List<Long> asList(long... ids) { |
261 static List<Long> asList(long... ids) { |
262 final List<Long> list = new ArrayList<>(ids.length); |
262 final List<Long> list = new ArrayList<>(ids.length); |