Examples of single()


Examples of com.alibaba.otter.node.etl.load.loader.weight.WeightBarrier.single()

            executor.submit(new Callable() {

                public Object call() throws Exception {
                    Thread.sleep(1000);
                    barrier.single(11);
                    count.countDown();
                    return null;
                }
            });
View Full Code Here

Examples of com.alibaba.otter.node.etl.load.loader.weight.WeightBarrier.single()

                    }
                });
            }
            Thread.sleep(1000);
            for (int i = 0; i < 10; i++) {
                barrier.single(i);
            }
            count.await();
            executor.shutdown();
        } catch (InterruptedException e) {
            want.fail();
View Full Code Here

Examples of com.alibaba.otter.shared.arbitrate.impl.setl.monitor.MainstemMonitor.single()

    /**
     * 更新mainStem的同步状态数据
     */
    public void single(MainStemEventData data) {
        MainstemMonitor mainstemMonitor = ArbitrateFactory.getInstance(data.getPipelineId(), MainstemMonitor.class);
        mainstemMonitor.single(data);
    }

    /**
     * 释放mainStem的节点,重新选择工作节点
     */
 
View Full Code Here

Examples of org.intellij.grammar.generator.RuleGraphHelper.Cardinality.single()

      Map<PsiElement, Cardinality> map = psiMap();
      boolean leftMarker = m.containsKey(LEFT_MARKER);
      for (PsiElement t : m.keySet()) {
        Cardinality joinedCard = fromNodeType(type).and(m.get(t));
        if (leftMarker) {
          joinedCard = joinedCard.single();
        }
        map.put(t, joinedCard);
      }
      return map;
    }
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.