Package org.apache.axis.components.threadpool

Examples of org.apache.axis.components.threadpool.ThreadPool


     * Create a server with the specified docRoot, max threads, and max sessions.
     */
    public NotSoSimpleAxisServer( File docRootDir, int maxPoolSize, int maxSessions )
    {
        m_docRootDir = docRootDir;
        m_pool = new ThreadPool( maxPoolSize );
        m_sessions = new LRUMap( maxSessions );
    }
View Full Code Here


     * Create a server with the specified docRoot, max threads, and max sessions.
     */
    public NotSoSimpleAxisServer( File docRootDir, int maxPoolSize, int maxSessions )
    {
        m_docRootDir = docRootDir;
        m_pool = new ThreadPool( maxPoolSize );
        m_sessions = new LRUMap( maxSessions );
    }
View Full Code Here

     *
     * @see org.apache.sandesha.server.InvokeStrategy#start()
     */
    public void start() {
        final int numberOfThreads = getThreadPoolSize();
        tPool = new ThreadPool(numberOfThreads);
        for (int i = 0; i < numberOfThreads; i++) {
            RMRunnableInvoker rmWorker = new RMRunnableInvoker(new RMInvokerWork());
            tPool.addWorker(rmWorker);
        }
    }
View Full Code Here

     * @param maxSessions maximum sessions
     */
    public SimpleAxisServer(int maxPoolSize, int maxSessions) {
        this.maxSessions = maxSessions;
        sessions = new LRUMap(maxSessions);
        pool = new ThreadPool(maxPoolSize);
    }
View Full Code Here

     * @param maxSessions maximum sessions
     */
    public SimpleAxisServer(int maxPoolSize, int maxSessions) {
        this.maxSessions = maxSessions;
        sessions = new LRUMap(maxSessions);
        pool = new ThreadPool(maxPoolSize);
    }
View Full Code Here

     * @param maxSessions maximum sessions
     */
    public SimpleAxisServer(int maxPoolSize, int maxSessions) {
        this.maxSessions = maxSessions;
        sessions = new LRUMap(maxSessions);
        pool = new ThreadPool(maxPoolSize);
    }
View Full Code Here

   public NotSoSimpleAxisServer( File docRootDir,
                                 int  maxPoolSize,
                                 int  maxSessions )
   {
      m_docRootDir    = docRootDir;
      m_pool          = new ThreadPool( maxPoolSize );
      m_sessions      = new LRUMap( maxSessions );
   }
View Full Code Here

TOP

Related Classes of org.apache.axis.components.threadpool.ThreadPool

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.