Codota Logo
RelayConfig$PropertiesBridgeConfig
Code IndexAdd Codota to your IDE (free)

How to use
RelayConfig$PropertiesBridgeConfig
in
org.jgroups.protocols.relay.config

Best Java code snippets using org.jgroups.protocols.relay.config.RelayConfig$PropertiesBridgeConfig (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: wildfly/wildfly

protected static void parseBridges(SiteConfig site_config, Node root) throws Exception {
  NodeList children=root.getChildNodes();
  if(children == null || children.getLength() == 0)
    return;
  for(int i=0; i < children.getLength(); i++) {
    Node node=children.item(i);
    if(node.getNodeType() != Node.ELEMENT_NODE)
      continue;
    String node_name=node.getNodeName();
    match(BRIDGE, node_name, true);
    NamedNodeMap attrs=node.getAttributes();
    if(attrs == null || attrs.getLength() == 0)
      continue;
    Attr name_attr=(Attr)attrs.getNamedItem("name");
    Attr config_attr=(Attr)attrs.getNamedItem("config");
    String name=name_attr != null? name_attr.getValue() : null;
    String config=config_attr.getValue();
    BridgeConfig bridge_config=new PropertiesBridgeConfig(name, config);
    site_config.addBridge(bridge_config);
  }
}
origin: org.infinispan/infinispan-core

  @Override
  protected void parseSiteConfiguration(Map<String, RelayConfig.SiteConfig> map) throws Exception {
   super.parseSiteConfiguration(map);

   String testName = TestResourceTracker.getCurrentTestName();
   map.forEach((s, siteConfig) -> {
     List<RelayConfig.BridgeConfig> bridges = siteConfig.getBridges();
     for (int i = 0; i < bridges.size(); i++) {
      RelayConfig.BridgeConfig bridgeConfig = bridges.get(i);
      String config =
         (String) TestingUtil.extractField(RelayConfig.PropertiesBridgeConfig.class, bridgeConfig, "config");
      // Keep the same ports for all the tests, just change the cluster name
      String clusterName = "bridge-" + (testName != null ? testName : "namenotset");
      bridges.set(i, new RelayConfig.PropertiesBridgeConfig(clusterName, config));
     }
   });
  }
}
origin: org.jboss.eap/wildfly-client-all

protected static void parseBridges(SiteConfig site_config, Node root) throws Exception {
  NodeList children=root.getChildNodes();
  if(children == null || children.getLength() == 0)
    return;
  for(int i=0; i < children.getLength(); i++) {
    Node node=children.item(i);
    if(node.getNodeType() != Node.ELEMENT_NODE)
      continue;
    String node_name=node.getNodeName();
    match(BRIDGE, node_name, true);
    NamedNodeMap attrs=node.getAttributes();
    if(attrs == null || attrs.getLength() == 0)
      continue;
    Attr name_attr=(Attr)attrs.getNamedItem("name");
    Attr config_attr=(Attr)attrs.getNamedItem("config");
    String name=name_attr != null? name_attr.getValue() : null;
    String config=config_attr.getValue();
    BridgeConfig bridge_config=new PropertiesBridgeConfig(name, config);
    site_config.addBridge(bridge_config);
  }
}
org.jgroups.protocols.relay.configRelayConfig$PropertiesBridgeConfig

Most used methods

  • <init>

Popular in Java

  • Reactive rest calls using spring rest template
  • notifyDataSetChanged (ArrayAdapter)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • String (java.lang)
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now