private AsyncHandler value;
private Level level;
public synchronized void start(final StartContext context) throws StartException {
final AsyncHandler handler = new AsyncHandler(queueLength);
value = handler;
final OverflowAction action = overflowAction;
setAction(handler, action);
Handler[] handlers = new Handler[subhandlers.size()];
for (int i = 0, subhandlersSize = subhandlers.size(); i < subhandlersSize; i++) {
handlers[i] = subhandlers.get(i).getValue();
}
handler.setHandlers(handlers);
if (level != null) handler.setLevel(level);
}