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

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

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

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: 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();
}
org.apache.activemq.commandBrokerInfoincrementRefCount

Popular methods of BrokerInfo

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

Popular in Java

  • Finding current android device location
  • getExternalFilesDir (Context)
  • setRequestProperty (URLConnection)
  • onRequestPermissionsResult (Fragment)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Collectors (java.util.stream)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Github Copilot 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