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

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

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

origin: apache/activemq

@Override
public Response processBrokerInfo(BrokerInfo info) throws Exception {
  brokerInfo = info;
  brokerInfoReceived.countDown();
  optimizeAcknowledge &= !brokerInfo.isFaultTolerantConfiguration();
  getBlobTransferPolicy().setBrokerUploadUrl(info.getBrokerUploadUrl());
  return null;
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    BrokerInfo info = (BrokerInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    BrokerInfo info = (BrokerInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    BrokerInfo info = (BrokerInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    BrokerInfo info = (BrokerInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    BrokerInfo info = (BrokerInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    BrokerInfo info = (BrokerInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    BrokerInfo info = (BrokerInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    BrokerInfo info = (BrokerInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    BrokerInfo info = (BrokerInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);

  }
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  BrokerInfo info = (BrokerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs);
  rc += tightMarshalString1(info.getBrokerURL(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
  rc += tightMarshalString1(info.getBrokerName(), bs);
  bs.writeBoolean(info.isSlaveBroker());
  bs.writeBoolean(info.isMasterBroker());
  bs.writeBoolean(info.isFaultTolerantConfiguration());
  return rc + 0;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  BrokerInfo info = (BrokerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs);
  rc += tightMarshalString1(info.getBrokerURL(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
  rc += tightMarshalString1(info.getBrokerName(), bs);
  bs.writeBoolean(info.isSlaveBroker());
  bs.writeBoolean(info.isMasterBroker());
  bs.writeBoolean(info.isFaultTolerantConfiguration());
  bs.writeBoolean(info.isDuplexConnection());
  bs.writeBoolean(info.isNetworkConnection());
  rc += tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
  return rc + 0;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  BrokerInfo info = (BrokerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs);
  rc += tightMarshalString1(info.getBrokerURL(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
  rc += tightMarshalString1(info.getBrokerName(), bs);
  bs.writeBoolean(info.isSlaveBroker());
  bs.writeBoolean(info.isMasterBroker());
  bs.writeBoolean(info.isFaultTolerantConfiguration());
  bs.writeBoolean(info.isDuplexConnection());
  bs.writeBoolean(info.isNetworkConnection());
  rc+=tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
  rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
  rc += tightMarshalString1(info.getNetworkProperties(), bs);
  return rc + 0;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  BrokerInfo info = (BrokerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs);
  rc += tightMarshalString1(info.getBrokerURL(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
  rc += tightMarshalString1(info.getBrokerName(), bs);
  bs.writeBoolean(info.isSlaveBroker());
  bs.writeBoolean(info.isMasterBroker());
  bs.writeBoolean(info.isFaultTolerantConfiguration());
  bs.writeBoolean(info.isDuplexConnection());
  bs.writeBoolean(info.isNetworkConnection());
  rc+=tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
  rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
  rc += tightMarshalString1(info.getNetworkProperties(), bs);
  return rc + 0;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  BrokerInfo info = (BrokerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs);
  rc += tightMarshalString1(info.getBrokerURL(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
  rc += tightMarshalString1(info.getBrokerName(), bs);
  bs.writeBoolean(info.isSlaveBroker());
  bs.writeBoolean(info.isMasterBroker());
  bs.writeBoolean(info.isFaultTolerantConfiguration());
  bs.writeBoolean(info.isDuplexConnection());
  bs.writeBoolean(info.isNetworkConnection());
  rc+=tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
  rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
  rc += tightMarshalString1(info.getNetworkProperties(), bs);
  return rc + 0;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  BrokerInfo info = (BrokerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs);
  rc += tightMarshalString1(info.getBrokerURL(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
  rc += tightMarshalString1(info.getBrokerName(), bs);
  bs.writeBoolean(info.isSlaveBroker());
  bs.writeBoolean(info.isMasterBroker());
  bs.writeBoolean(info.isFaultTolerantConfiguration());
  bs.writeBoolean(info.isDuplexConnection());
  bs.writeBoolean(info.isNetworkConnection());
  rc+=tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
  rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
  rc += tightMarshalString1(info.getNetworkProperties(), bs);
  return rc + 0;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  BrokerInfo info = (BrokerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs);
  rc += tightMarshalString1(info.getBrokerURL(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
  rc += tightMarshalString1(info.getBrokerName(), bs);
  bs.writeBoolean(info.isSlaveBroker());
  bs.writeBoolean(info.isMasterBroker());
  bs.writeBoolean(info.isFaultTolerantConfiguration());
  bs.writeBoolean(info.isDuplexConnection());
  bs.writeBoolean(info.isNetworkConnection());
  rc+=tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
  rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
  rc += tightMarshalString1(info.getNetworkProperties(), bs);
  return rc + 0;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  BrokerInfo info = (BrokerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs);
  rc += tightMarshalString1(info.getBrokerURL(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
  rc += tightMarshalString1(info.getBrokerName(), bs);
  bs.writeBoolean(info.isSlaveBroker());
  bs.writeBoolean(info.isMasterBroker());
  bs.writeBoolean(info.isFaultTolerantConfiguration());
  bs.writeBoolean(info.isDuplexConnection());
  bs.writeBoolean(info.isNetworkConnection());
  rc += tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
  rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
  rc += tightMarshalString1(info.getNetworkProperties(), bs);
  return rc + 0;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  BrokerInfo info = (BrokerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs);
  rc += tightMarshalString1(info.getBrokerURL(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
  rc += tightMarshalString1(info.getBrokerName(), bs);
  bs.writeBoolean(info.isSlaveBroker());
  bs.writeBoolean(info.isMasterBroker());
  bs.writeBoolean(info.isFaultTolerantConfiguration());
  bs.writeBoolean(info.isDuplexConnection());
  bs.writeBoolean(info.isNetworkConnection());
  rc+=tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
  rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
  rc += tightMarshalString1(info.getNetworkProperties(), bs);
  return rc + 0;
}
origin: org.apache.activemq/activemq-client

@Override
public Response processBrokerInfo(BrokerInfo info) throws Exception {
  brokerInfo = info;
  brokerInfoReceived.countDown();
  optimizeAcknowledge &= !brokerInfo.isFaultTolerantConfiguration();
  getBlobTransferPolicy().setBrokerUploadUrl(info.getBrokerUploadUrl());
  return null;
}
org.apache.activemq.commandBrokerInfoisFaultTolerantConfiguration

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

  • Reading from database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • scheduleAtFixedRate (Timer)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JFileChooser (javax.swing)
  • 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