Tabnine Logo
BrokerInfo.copy
Code IndexAdd Tabnine to your IDE (free)

How to use
copy
method
in
org.apache.activemq.command.BrokerInfo

Best Java code snippets using org.apache.activemq.command.BrokerInfo.copy (Showing top 15 results out of 315)

origin: apache/activemq

public BrokerInfo copy() {
  BrokerInfo copy = new BrokerInfo();
  copy(copy);
  return copy;
}
origin: apache/activemq

@Override
public synchronized void addBroker(Connection connection, BrokerInfo info) {
  BrokerInfo existing = brokerInfos.get(info.getBrokerId());
  if (existing == null) {
    existing = info.copy();
    existing.setPeerBrokerInfos(null);
    brokerInfos.put(info.getBrokerId(), existing);
  }
  existing.incrementRefCount();
  LOG.debug("{} addBroker: {} brokerInfo size: {}", new Object[]{ getBrokerName(), info.getBrokerName(), brokerInfos.size() });
  addBrokerInClusterUpdate(info);
}
origin: apache/activemq

BrokerInfo info = connector.getBrokerInfo().copy();
if (connector.isUpdateClusterClients()) {
  info.setPeerBrokerInfos(this.broker.getPeerBrokerInfos());
origin: org.apache.activemq/activemq-client

public BrokerInfo copy() {
  BrokerInfo copy = new BrokerInfo();
  copy(copy);
  return copy;
}
origin: org.apache.activemq/activemq-osgi

public BrokerInfo copy() {
  BrokerInfo copy = new BrokerInfo();
  copy(copy);
  return copy;
}
origin: org.apache.activemq/activemq-all

public BrokerInfo copy() {
  BrokerInfo copy = new BrokerInfo();
  copy(copy);
  return copy;
}
origin: pierre/meteo

public BrokerInfo copy() {
  BrokerInfo copy = new BrokerInfo();
  copy(copy);
  return copy;
}

origin: org.apache.activemq/activemq-broker

@Override
public synchronized void addBroker(Connection connection, BrokerInfo info) {
  BrokerInfo existing = brokerInfos.get(info.getBrokerId());
  if (existing == null) {
    existing = info.copy();
    existing.setPeerBrokerInfos(null);
    brokerInfos.put(info.getBrokerId(), existing);
  }
  existing.incrementRefCount();
  LOG.debug("{} addBroker: {} brokerInfo size: {}", new Object[]{ getBrokerName(), info.getBrokerName(), brokerInfos.size() });
  addBrokerInClusterUpdate(info);
}
origin: org.apache.activemq/activemq-osgi

@Override
public synchronized void addBroker(Connection connection, BrokerInfo info) {
  BrokerInfo existing = brokerInfos.get(info.getBrokerId());
  if (existing == null) {
    existing = info.copy();
    existing.setPeerBrokerInfos(null);
    brokerInfos.put(info.getBrokerId(), existing);
  }
  existing.incrementRefCount();
  LOG.debug("{} addBroker: {} brokerInfo size: {}", new Object[]{ getBrokerName(), info.getBrokerName(), brokerInfos.size() });
  addBrokerInClusterUpdate(info);
}
origin: org.apache.activemq/activemq-all

@Override
public synchronized void addBroker(Connection connection, BrokerInfo info) {
  BrokerInfo existing = brokerInfos.get(info.getBrokerId());
  if (existing == null) {
    existing = info.copy();
    existing.setPeerBrokerInfos(null);
    brokerInfos.put(info.getBrokerId(), existing);
  }
  existing.incrementRefCount();
  LOG.debug("{} addBroker: {} brokerInfo size: {}", new Object[]{ getBrokerName(), info.getBrokerName(), brokerInfos.size() });
  addBrokerInClusterUpdate(info);
}
origin: pierre/meteo

@Override
public synchronized void addBroker(Connection connection, BrokerInfo info) {
  BrokerInfo existing = brokerInfos.get(info.getBrokerId());
  if (existing == null) {
    existing = info.copy();
    existing.setPeerBrokerInfos(null);
    brokerInfos.put(info.getBrokerId(), existing);
  }
  existing.incrementRefCount();
  LOG.debug(getBrokerName() + " addBroker:" + info.getBrokerName() + " brokerInfo size : " + brokerInfos.size());
  addBrokerInClusterUpdate();
}
origin: org.apache.activemq/activemq-all

BrokerInfo info = connector.getBrokerInfo().copy();
if (connector.isUpdateClusterClients()) {
  info.setPeerBrokerInfos(this.broker.getPeerBrokerInfos());
origin: org.apache.activemq/activemq-broker

BrokerInfo info = connector.getBrokerInfo().copy();
if (connector.isUpdateClusterClients()) {
  info.setPeerBrokerInfos(this.broker.getPeerBrokerInfos());
origin: org.apache.activemq/activemq-osgi

BrokerInfo info = connector.getBrokerInfo().copy();
if (connector.isUpdateClusterClients()) {
  info.setPeerBrokerInfos(this.broker.getPeerBrokerInfos());
origin: pierre/meteo

BrokerInfo info = connector.getBrokerInfo().copy();
if (connector.isUpdateClusterClients()) {
  info.setPeerBrokerInfos(this.broker.getPeerBrokerInfos());
org.apache.activemq.commandBrokerInfocopy

Popular methods of BrokerInfo

  • getBrokerId
  • getBrokerName
  • <init>
  • getBrokerURL
  • setBrokerName
  • setBrokerURL
  • setBrokerId
  • setFaultTolerantConfiguration
  • setPeerBrokerInfos
  • getNetworkProperties
  • isDuplexConnection
  • isNetworkConnection
  • isDuplexConnection,
  • isNetworkConnection,
  • isSlaveBroker,
  • setDuplexConnection,
  • setNetworkConnection,
  • setNetworkProperties,
  • getBrokerUploadUrl,
  • getConnectionId,
  • getPeerBrokerInfos

Popular in Java

  • Reactive rest calls using spring rest template
  • getResourceAsStream (ClassLoader)
  • getSupportFragmentManager (FragmentActivity)
  • startActivity (Activity)
  • String (java.lang)
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Join (org.hibernate.mapping)
  • 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