Tabnine Logo
AstWriteNotifyNode.getRegionInfo
Code IndexAdd Tabnine to your IDE (free)

How to use
getRegionInfo
method
in
org.kaazing.k3po.lang.internal.ast.AstWriteNotifyNode

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

origin: k3po/k3po

@Override
public Configuration visit(AstWriteNotifyNode node, State state) {
  RegionInfo regionInfo = node.getRegionInfo();
  String barrierName = node.getBarrierName();
  Barrier barrier = state.lookupBarrier(barrierName);
  NotifyBarrierHandler handler = new NotifyBarrierHandler(barrier);
  handler.setRegionInfo(regionInfo);
  Map<String, ChannelHandler> pipelineAsMap = state.pipelineAsMap;
  String handlerName = String.format("write.notify#%d", pipelineAsMap.size() + 1);
  pipelineAsMap.put(handlerName, handler);
  state.configuration.getBarriers().add(barrier);
  return state.configuration;
}
origin: k3po/k3po

@Override
public AstWriteNotifyNode visitWriteNotifyNode(WriteNotifyNodeContext ctx) {
  AstWriteNotifyNodeVisitor visitor = new AstWriteNotifyNodeVisitor(factory, environment);
  AstWriteNotifyNode writeNotifyNode = visitor.visitWriteNotifyNode(ctx);
  if (writeNotifyNode != null) {
    childInfos().add(writeNotifyNode.getRegionInfo());
  }
  return writeNotifyNode;
}
org.kaazing.k3po.lang.internal.astAstWriteNotifyNodegetRegionInfo

Popular methods of AstWriteNotifyNode

  • getBarrierName
  • <init>
  • setBarrierName
  • setRegionInfo

Popular in Java

  • Making http post requests using okhttp
  • putExtra (Intent)
  • requestLocationUpdates (LocationManager)
  • compareTo (BigDecimal)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JComboBox (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • CodeWhisperer alternatives
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