Tabnine Logo
ProtocolStackConfigInfo
Code IndexAdd Tabnine to your IDE (free)

How to use
ProtocolStackConfigInfo
in
org.jboss.ha.core.channelfactory

Best Java code snippets using org.jboss.ha.core.channelfactory.ProtocolStackConfigInfo (Showing top 6 results out of 315)

origin: org.jboss.jbossas/jboss-as-cluster

@Override
public MetaValue createMetaValue(MetaType metaType, Map<String, ProtocolStackConfigInfo> object)
{
 Map<String, MetaValue> result = new HashMap<String, MetaValue>();
 for (Map.Entry<String, ProtocolStackConfigInfo> entry : object.entrySet())
 {
   ProtocolStackConfigInfo info = entry.getValue();
   Map<String, MetaValue> stackValue = new HashMap<String, MetaValue>();
   stackValue.put("name", SimpleValueSupport.wrap(info.getName()));
   stackValue.put("description", SimpleValueSupport.wrap(info.getDescription()));
      ProtocolData[] data = info.getConfiguration();         
   stackValue.put("configuration", CONFIG_MAPPER.createMetaValue(CONFIG_MAPPER.getMetaType(), data));
      result.put(entry.getKey(), new CompositeValueSupport(TYPE, stackValue));
 }
 
 return new MapCompositeValueSupport(result, TYPE);
}
origin: org.jboss.cluster/jboss-ha-server-core

/**
* {@inheritDoc}
*/
@Override
public String getConfig(String stack_name) throws Exception
{
 ProtocolStackConfigInfo cfg = stacks.get(stack_name);
 if (cfg == null)
   throw new Exception("stack \"" + stack_name + "\" not found in " + stacks.keySet());
 return cfg.getProtocolStackString();
}
origin: org.jboss.cluster/jboss-ha-server-core

result.put(st_name, new ProtocolStackConfigInfo(st_name, stack_descr, protocolData));
origin: org.jboss.cluster/jboss-ha-server-core

ProtocolData[] protocols = config.getConfiguration();
JChannel channel = initializeChannel(protocols, stack_name, forceSingletonStack);
origin: org.jboss.jbossas/jboss-as-cluster

result.put(stack, new ProtocolStackConfigInfo(name, description, protocolData));
origin: org.jboss.cluster/jboss-ha-server-core

/**
* {@inheritDoc}
*/
@Override
public String getMultiplexerConfig()
{
 StringBuilder sb = new StringBuilder();
 for (Map.Entry<String, ProtocolStackConfigInfo> entry : stacks.entrySet())
 {
   sb.append(entry.getKey()).append(": ").append(entry.getValue().getProtocolStackString()).append("\n");
 }
 return sb.toString();
}
org.jboss.ha.core.channelfactoryProtocolStackConfigInfo

Javadoc

Data object representing a JGroups protocol stack configuration.

Most used methods

  • <init>
  • getConfiguration
  • getDescription
  • getName
  • getProtocolStackString

Popular in Java

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • putExtra (Intent)
  • notifyDataSetChanged (ArrayAdapter)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • ImageIO (javax.imageio)
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Option (scala)
  • 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