avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/phoenix/engine/facilities ThreadManager.java
Date Sun, 15 Apr 2001 12:11:16 GMT
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


Mime
View raw message