Examples of StatusManager


Examples of org.apache.ivy.core.module.status.StatusManager

                if ("true".equals(_ivy.substitute((String)attributes.get("usedefaults")))) {
                    _ivy.configureDefaultVersionMatcher();
                }
            } else if ("statuses".equals(qName)) {
                _currentConfiguratorTag = qName;
                StatusManager m = new StatusManager();
                String defaultStatus = _ivy.substitute((String)attributes.get("default"));
                if (defaultStatus != null) {
                    m.setDefaultStatus(defaultStatus);
                }
                _ivy.setStatusManager(m);
                _configurator.setRoot(m);
            } else if (_configuratorTags.contains(qName)) {
                _currentConfiguratorTag = qName;
View Full Code Here

Examples of org.eclipse.ui.statushandlers.StatusManager

    public static void log(IStatus status) {
  int style = StatusManager.LOG;

  if (status.getSeverity() == IStatus.ERROR) {
      style = StatusManager.LOG | StatusManager.SHOW | StatusManager.BLOCK;
      StatusManager stMan = StatusManager.getManager();
      stMan.handle(status, style);
  } else {
      Activator.getDefault().getLog().log(status);
  }

    }
View Full Code Here

Examples of voldemort.server.StatusManager

        this.endpoint = new InetSocketAddress(port);

        this.selectorManagers = new NioSelectorManager[selectors];
        this.selectorManagerThreadPool = Executors.newFixedThreadPool(selectorManagers.length,
                                                                      new DaemonThreadFactory("voldemort-niosocket-server"));
        this.statusManager = new StatusManager((ThreadPoolExecutor) this.selectorManagerThreadPool);
        this.acceptorThread = new Thread(new Acceptor(), "NioSocketService.Acceptor");
    }
View Full Code Here

Examples of voldemort.server.StatusManager

                                                 0,
                                                 TimeUnit.MILLISECONDS,
                                                 new SynchronousQueue<Runnable>(),
                                                 threadFactory,
                                                 rejectedExecutionHandler);
        this.statusManager = new StatusManager(this.threadPool);
        this.sessionIdSequence = new AtomicLong(0);
        this.activeSessions = new ConcurrentHashMap<Long, SocketServerSession>();
        this.serverName = serverName;
        this.logger = Logger.getLogger(SocketServer.class.getName() + "[" + serverName + "]");
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.