Examples of ProcessQueue


Examples of com.alibaba.rocketmq.client.impl.consumer.ProcessQueue

                    consumer.getRebalanceImpl().getProcessQueueTable();
            Iterator<MessageQueue> itr = processQueueTable.keySet().iterator();
            while (itr.hasNext()) {
                MessageQueue mq = itr.next();
                if (topic.equals(mq.getTopic())) {
                    ProcessQueue pq = processQueueTable.get(mq);
                    pq.setDroped(true);
                    pq.clear();
                }
            }

            // 更新消费队列的 offset 并提交到 broker
            Iterator<MessageQueue> iterator = offsetTable.keySet().iterator();
View Full Code Here

Examples of com.alibaba.rocketmq.client.impl.consumer.ProcessQueue

                    consumer.getRebalanceImpl().getProcessQueueTable();
            Iterator<MessageQueue> itr = processQueueTable.keySet().iterator();
            while (itr.hasNext()) {
                MessageQueue mq = itr.next();
                if (topic.equals(mq.getTopic())) {
                    ProcessQueue pq = processQueueTable.get(mq);
                    pq.setDroped(true);
                    pq.clear();
                }
            }

            // 更新消费队列的 offset 并提交到 broker
            Iterator<MessageQueue> iterator = offsetTable.keySet().iterator();
View Full Code Here

Examples of com.alibaba.rocketmq.client.impl.consumer.ProcessQueue

                    consumer.getRebalanceImpl().getProcessQueueTable();
            Iterator<MessageQueue> itr = processQueueTable.keySet().iterator();
            while (itr.hasNext()) {
                MessageQueue mq = itr.next();
                if (topic.equals(mq.getTopic())) {
                    ProcessQueue pq = processQueueTable.get(mq);
                    pq.setDroped(true);
                    pq.clear();
                }
            }

            // 更新消费队列的 offset 并提交到 broker
            Iterator<MessageQueue> iterator = offsetTable.keySet().iterator();
View Full Code Here

Examples of com.alibaba.rocketmq.client.impl.consumer.ProcessQueue

                    consumer.getRebalanceImpl().getProcessQueueTable();
            Iterator<MessageQueue> itr = processQueueTable.keySet().iterator();
            while (itr.hasNext()) {
                MessageQueue mq = itr.next();
                if (topic.equals(mq.getTopic())) {
                    ProcessQueue pq = processQueueTable.get(mq);
                    pq.setDroped(true);
                    pq.clear();
                }
            }

            // 更新消费队列的 offset 并提交到 broker
            Iterator<MessageQueue> iterator = offsetTable.keySet().iterator();
View Full Code Here

Examples of com.alibaba.rocketmq.client.impl.consumer.ProcessQueue

                    consumer.getRebalanceImpl().getProcessQueueTable();
            Iterator<MessageQueue> itr = processQueueTable.keySet().iterator();
            while (itr.hasNext()) {
                MessageQueue mq = itr.next();
                if (topic.equals(mq.getTopic())) {
                    ProcessQueue pq = processQueueTable.get(mq);
                    pq.setDroped(true);
                    pq.clear();
                }
            }

            // 更新消费队列的 offset 并提交到 broker
            Iterator<MessageQueue> iterator = offsetTable.keySet().iterator();
View Full Code Here

Examples of com.alibaba.rocketmq.client.impl.consumer.ProcessQueue

                    consumer.getRebalanceImpl().getProcessQueueTable();
            Iterator<MessageQueue> itr = processQueueTable.keySet().iterator();
            while (itr.hasNext()) {
                MessageQueue mq = itr.next();
                if (topic.equals(mq.getTopic())) {
                    ProcessQueue pq = processQueueTable.get(mq);
                    pq.setDroped(true);
                    pq.clear();
                }
            }

            // 更新消费队列的 offset 并提交到 broker
            Iterator<MessageQueue> iterator = offsetTable.keySet().iterator();
View Full Code Here

Examples of com.alibaba.rocketmq.client.impl.consumer.ProcessQueue

                    consumer.getRebalanceImpl().getProcessQueueTable();
            Iterator<MessageQueue> itr = processQueueTable.keySet().iterator();
            while (itr.hasNext()) {
                MessageQueue mq = itr.next();
                if (topic.equals(mq.getTopic())) {
                    ProcessQueue pq = processQueueTable.get(mq);
                    pq.setDroped(true);
                    pq.clear();
                }
            }

            // 更新消费队列的 offset 并提交到 broker
            Iterator<MessageQueue> iterator = offsetTable.keySet().iterator();
View Full Code Here

Examples of pl.net.bluesoft.rnd.processtool.model.nonpersistent.ProcessQueue

      @Override
      public void buttonClick(ClickEvent event) {
        if (table.getValue() == null)
          return;
       
        ProcessQueue pq = (ProcessQueue)table.getValue();
        if (pq.getUserAdded() == null || pq.getUserAdded() == false) {
          getWindow().showNotification(getMessage("queues.remove.forbidden"));
          return;
        }
       
        final Collection<ProcessQueueConfig> queues = new ArrayList<ProcessQueueConfig>();
        ProcessQueueConfig config = new ProcessQueueConfig();
        config.setName(pq.getName());
        queues.add(config);
       
        withErrorHandling(getApplication(), new Runnable() {

          @Override
View Full Code Here

Examples of pl.net.bluesoft.rnd.processtool.model.nonpersistent.ProcessQueue

    });

        table.addGeneratedColumn("translation", new ColumnGenerator() {
            @Override
            public Object generateCell(Table source, Object itemId, Object columnId) {
                ProcessQueue queue = (ProcessQueue) itemId;
                String translation = getMessage(queue.getDescription());
                return translation != null ? translation : "";
            }
        });
   
    table.setVisibleColumns(new Object[] { "description", "translation", "processCount", "name", "browsable", "userAdded" });
View Full Code Here

Examples of pl.net.bluesoft.rnd.processtool.model.nonpersistent.ProcessQueue

    viewController.addView(new ComponentPaneRenderer<QueueListPane>(new QueueListPane(this))
    {
      @Override
      public Component render(Map<String,?> viewData)
      {
        ProcessQueue q = (ProcessQueue)viewData.get("queue");
        ProcessInstanceFilter filter = (ProcessInstanceFilter)viewData.get("filter");
        pane.setFilter(filter);
        pane.setQueue(q);
        leftPanelTrigger.show();
        return pane.init();
      }
    });

    viewController.addView(new ComponentPaneRenderer<OtherUserQueueListPane>(new OtherUserQueueListPane(this))
    {
      @Override
      public Component render(Map<String,?> viewData)
      {
        ProcessQueue queue = (ProcessQueue)viewData.get("queue");
        UserData user = (UserData)viewData.get("user");
        ProcessInstanceFilter filter = (ProcessInstanceFilter)viewData.get("filter");
        pane.setFilter(filter);
        pane.setUserData(user);
        pane.setQueue(queue);
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.