Tabnine Logo
NioReceiver.getMinThreads
Code IndexAdd Tabnine to your IDE (free)

How to use
getMinThreads
method
in
org.apache.catalina.tribes.transport.nio.NioReceiver

Best Java code snippets using org.apache.catalina.tribes.transport.nio.NioReceiver.getMinThreads (Showing top 4 results out of 315)

origin: org.apache.catalina.springsource/com.springsource.org.apache.catalina.tribes.springsource

/**
 * start cluster receiver
 * @throws Exception
 * @see org.apache.catalina.tribes.ClusterReceiver#start()
 */
public void start() throws IOException {
  super.start();
  try {
    setPool(new RxTaskPool(getMaxThreads(),getMinThreads(),this));
  } catch (Exception x) {
    log.fatal("ThreadPool can initilzed. Listener not started", x);
    if ( x instanceof IOException ) throw (IOException)x;
    else throw new IOException(x.getMessage());
  }
  try {
    getBind();
    bind();
    Thread t = new Thread(this, "NioReceiver");
    t.setDaemon(true);
    t.start();
  } catch (Exception x) {
    log.fatal("Unable to start cluster receiver", x);
    if ( x instanceof IOException ) throw (IOException)x;
    else throw new IOException(x.getMessage());
  }
}

origin: org.apache.geronimo.ext.tomcat/tribes

/**
 * start cluster receiver
 * @throws IOException
 * @see org.apache.catalina.tribes.ChannelReceiver#start()
 */
@Override
public void start() throws IOException {
  super.start();
  try {
    setPool(new RxTaskPool(getMaxThreads(),getMinThreads(),this));
  } catch (Exception x) {
    log.fatal("ThreadPool can initilzed. Listener not started", x);
    if ( x instanceof IOException ) throw (IOException)x;
    else throw new IOException(x.getMessage());
  }
  try {
    getBind();
    bind();
    Thread t = new Thread(this, "NioReceiver");
    t.setDaemon(true);
    t.start();
  } catch (Exception x) {
    log.fatal("Unable to start cluster receiver", x);
    if ( x instanceof IOException ) throw (IOException)x;
    else throw new IOException(x.getMessage());
  }
}
origin: codefollower/Tomcat-Research

/**
 * start cluster receiver
 * @throws IOException
 * @see org.apache.catalina.tribes.ChannelReceiver#start()
 */
@Override
public void start() throws IOException {
  super.start();
  try {
    setPool(new RxTaskPool(getMaxThreads(),getMinThreads(),this));
  } catch (Exception x) {
    log.fatal(sm.getString("NioReceiver.threadpool.fail"), x);
    if ( x instanceof IOException ) throw (IOException)x;
    else throw new IOException(x.getMessage());
  }
  try {
    getBind();
    bind();
    Thread t = new Thread(this, "NioReceiver");
    t.setDaemon(true);
    t.start();
  } catch (Exception x) {
    log.fatal(sm.getString("NioReceiver.start.fail"), x);
    if ( x instanceof IOException ) throw (IOException)x;
    else throw new IOException(x.getMessage());
  }
}
origin: org.apache.tomcat/tomcat-tribes

super.start();
try {
  setPool(new RxTaskPool(getMaxThreads(),getMinThreads(),this));
} catch (Exception x) {
  log.fatal(sm.getString("nioReceiver.threadpool.fail"), x);
org.apache.catalina.tribes.transport.nioNioReceivergetMinThreads

Popular methods of NioReceiver

  • addEvent
  • bind
  • cancelledKey
  • doListen
  • events
  • getAutoBind
  • getBind
  • getExecutor
  • getMaxThreads
  • getOoBInline
  • getRxBufSize
  • getSelectorTimeout
  • getRxBufSize,
  • getSelectorTimeout,
  • getSoKeepAlive,
  • getSoLingerOn,
  • getSoLingerTime,
  • getSoReuseAddress,
  • getSoTrafficClass,
  • getTaskPool,
  • getTcpNoDelay

Popular in Java

  • Reactive rest calls using spring rest template
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • findViewById (Activity)
  • getSharedPreferences (Context)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • ImageIO (javax.imageio)
  • Notification (javax.management)
  • Top plugins for Android Studio
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