Tabnine Logo
AstReadAwaitNode.getBarrierName
Code IndexAdd Tabnine to your IDE (free)

How to use
getBarrierName
method
in
org.kaazing.k3po.lang.internal.ast.AstReadAwaitNode

Best Java code snippets using org.kaazing.k3po.lang.internal.ast.AstReadAwaitNode.getBarrierName (Showing top 2 results out of 315)

origin: k3po/k3po

  @Override
  protected void describe(StringBuilder buf) {
    super.describe(buf);
    buf.append(format("read await %s\n", getBarrierName()));
  }
}
origin: k3po/k3po

@Override
public Configuration visit(AstReadAwaitNode node, State state) {
  RegionInfo regionInfo = node.getRegionInfo();
  String barrierName = node.getBarrierName();
  Barrier barrier = state.lookupBarrier(barrierName);
  AwaitBarrierUpstreamHandler handler = new AwaitBarrierUpstreamHandler(barrier);
  handler.setRegionInfo(regionInfo);
  Map<String, ChannelHandler> pipelineAsMap = state.pipelineAsMap;
  String handlerName = String.format("read.await#%d", pipelineAsMap.size() + 1);
  pipelineAsMap.put(handlerName, handler);
  state.configuration.getBarriers().add(barrier);
  return state.configuration;
}
org.kaazing.k3po.lang.internal.astAstReadAwaitNodegetBarrierName

Popular methods of AstReadAwaitNode

  • getRegionInfo
  • <init>
  • setBarrierName
  • setRegionInfo

Popular in Java

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now