Tabnine Logo
MultiPointSender.setMaxRetryAttempts
Code IndexAdd Tabnine to your IDE (free)

How to use
setMaxRetryAttempts
method
in
org.apache.catalina.tribes.transport.MultiPointSender

Best Java code snippets using org.apache.catalina.tribes.transport.MultiPointSender.setMaxRetryAttempts (Showing top 2 results out of 315)

origin: org.apache.axis2/axis2-clustering

/**
 * Set the maximum number of retries, if message sending to a particular node fails
 */
private void setMaximumRetries() {
  Parameter maxRetriesParam = getParameter(TribesConstants.MAX_RETRIES);
  int maxRetries = 10;
  if (maxRetriesParam != null) {
    maxRetries = Integer.parseInt((String) maxRetriesParam.getValue());
  }
  ReplicationTransmitter replicationTransmitter =
      (ReplicationTransmitter) channel.getChannelSender();
  MultiPointSender multiPointSender = replicationTransmitter.getTransport();
  multiPointSender.setMaxRetryAttempts(maxRetries);
}
origin: apache/axis2-java

/**
 * Set the maximum number of retries, if message sending to a particular node fails
 */
private void setMaximumRetries() {
  Parameter maxRetriesParam = getParameter(TribesConstants.MAX_RETRIES);
  int maxRetries = 10;
  if (maxRetriesParam != null) {
    maxRetries = Integer.parseInt((String) maxRetriesParam.getValue());
  }
  ReplicationTransmitter replicationTransmitter =
      (ReplicationTransmitter) channel.getChannelSender();
  MultiPointSender multiPointSender = replicationTransmitter.getTransport();
  multiPointSender.setMaxRetryAttempts(maxRetries);
}
org.apache.catalina.tribes.transportMultiPointSendersetMaxRetryAttempts

Popular methods of MultiPointSender

  • add
  • connect
  • disconnect
  • keepalive
  • remove
  • sendMessage

Popular in Java

  • Making http requests using okhttp
  • startActivity (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top PhpStorm 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