001    /**
002     *
003     * Copyright 2005 The Apache Software Foundation
004     *
005     *  Licensed under the Apache License, Version 2.0 (the "License");
006     *  you may not use this file except in compliance with the License.
007     *  You may obtain a copy of the License at
008     *
009     *     http://www.apache.org/licenses/LICENSE-2.0
010     *
011     *  Unless required by applicable law or agreed to in writing, software
012     *  distributed under the License is distributed on an "AS IS" BASIS,
013     *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014     *  See the License for the specific language governing permissions and
015     *  limitations under the License.
016     */
017    package org.apache.geronimo.jetty;
018    
019    import org.apache.geronimo.management.geronimo.WebConnector;
020    
021    /**
022     * A Jetty-specific extension to the standard Geronimo web connector interface.
023     *
024     * @version $Rev: 356191 $ $Date: 2005-12-11 23:15:20 -0800 (Sun, 11 Dec 2005) $
025     */
026    public interface JettyWebConnector extends WebConnector {
027    
028        /**
029         * Gets the minimum number of threads used to service connections from
030         * this connector.
031         */
032        public int getMinThreads();
033    
034        /**
035         * Sets the minimum number of threads used to service connections from
036         * this connector.
037         */
038        public void setMinThreads(int threads);
039    
040        public int getThreads();
041    
042        public int getIdlethreads();
043    
044        public String getDefaultScheme();
045    
046        public void setMaxIdleTimeMs(int max);
047    
048        public int getMaxIdleTimeMs();
049    
050        public void setLowThreadsMaxIdleTimeMs(int max);
051    
052        public int getLowThreadsMaxIdleTimeMs();
053    
054        public void setLowThreads(int lowThreads);
055    
056        public int getLowThreads();
057    }