You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by do...@apache.org on 2001/04/15 14:11:16 UTC

cvs commit: jakarta-avalon-phoenix/src/java/org/apache/phoenix/engine/facilities ThreadManager.java

donaldp     01/04/15 05:11:16

  Added:       src/java/org/apache/phoenix/engine/facilities
                        ThreadManager.java
  Log:
  Defined ThreadManager interface.
  
  Revision  Changes    Path
  1.1                  jakarta-avalon-phoenix/src/java/org/apache/phoenix/engine/facilities/ThreadManager.java
  
  Index: ThreadManager.java
  ===================================================================
  /*
   * Copyright (C) The Apache Software Foundation. All rights reserved.
   *
   * This software is published under the terms of the Apache Software License
   * version 1.1, a copy of which has been included with this distribution in
   * the LICENSE file.
   */
  package org.apache.phoenix.engine.facilities;
  
  import org.apache.avalon.atlantis.Facility;
  import org.apache.avalon.util.thread.ThreadPool;
  
  /**
   * This facility manages the policy for an application instance.
   *
   * @author <a href="mailto:donaldp@apache.org">Peter Donald</a>
   */
  public interface ThreadManager
      extends Facility
  {
      /**
       * Retrieve thread pool by name.
       *
       * @param name the name of thread pool
       * @return the threadpool
       * @exception IllegalArgumentException if the name of thread pool is 
       *            invalid or named pool does not exist
       */
      ThreadPool getThreadPool( String name ) 
          throws IllegalArgumentException;
  
      /**
       * Retrieve the default thread pool.
       *
       * @return the thread pool
       */
      ThreadPool getDefaultThreadPool();
  }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org