001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one
003: * or more contributor license agreements. See the NOTICE file
004: * distributed with this work for additional information
005: * regarding copyright ownership. The ASF licenses this file
006: * to you under the Apache License, Version 2.0 (the
007: * "License"); you may not use this file except in compliance
008: * with the License. You may obtain a copy of the License at
009: *
010: * http://www.apache.org/licenses/LICENSE-2.0
011: *
012: * Unless required by applicable law or agreed to in writing,
013: * software distributed under the License is distributed on an
014: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015: * KIND, either express or implied. See the License for the
016: * specific language governing permissions and limitations
017: * under the License.
018: */
019: package org.apache.geronimo.tomcat.connector;
020:
021: public interface Http11NIOProtocol {
022:
023: public boolean getUseSendfile();
024:
025: public void setUseSendfile(boolean useSendfile);
026:
027: public boolean getUseExecutor();
028:
029: public void setUseExecutor(boolean useExecutor);
030:
031: public int getAcceptorThreadCount();
032:
033: public void setAcceptorThreadCount(int acceptorThreadCount);
034:
035: public int getAcceptorThreadPriority();
036:
037: public void setAcceptorThreadPriority(int acceptorThreadPriority);
038:
039: public int getPollerThreadCount();
040:
041: public void setPollerThreadCount(int pollerThreadCount);
042:
043: public int getPollerThreadPriority();
044:
045: public void setPollerThreadPriority(int pollerThreadPriority);
046:
047: public int getSelectorTimeout();
048:
049: public void setSelectorTimeout(int selectorTimeout);
050:
051: public boolean getUseComet();
052:
053: public void setUseComet(boolean useComet);
054:
055: public int getProcessCache();
056:
057: public void setProcessCache(int processCache);
058:
059: public boolean getSocket_directBuffer();
060:
061: public void setSocket_directBuffer(boolean socket_directBuffer);
062:
063: public int getSocket_rxBufSize();
064:
065: public void setSocket_rxBufSize(int socket_rxBufSize);
066:
067: public int getSocket_txBufSize();
068:
069: public void setSocket_txBufSize(int socket_txBufSize);
070:
071: public int getSocket_appReadBufSize();
072:
073: public void setSocket_appReadBufSize(int socket_appReadBufSize);
074:
075: public int getSocket_appWriteBufSize();
076:
077: public void setSocket_appWriteBufSize(int socket_appWriteBufSize);
078:
079: public int getSocket_bufferPool();
080:
081: public void setSocket_bufferPool(int socket_bufferPool);
082:
083: public int getSocket_bufferPoolSize();
084:
085: public void setSocket_bufferPoolSize(int socket_bufferPoolSize);
086:
087: public int getSocket_processorCache();
088:
089: public void setSocket_processorCache(int socket_processorCache);
090:
091: public int getSocket_keyCache();
092:
093: public void setSocket_keyCache(int socket_keyCache);
094:
095: public int getSocket_eventCache();
096:
097: public void setSocket_eventCache(int socket_eventCache);
098:
099: public boolean getSocket_tcpNoDelay();
100:
101: public void setSocket_tcpNoDelay(boolean socket_tcpNoDelay);
102:
103: public boolean getSocket_soKeepAlive();
104:
105: public void setSocket_soKeepAlive(boolean socket_soKeepAlive);
106:
107: public boolean getSocket_ooBInline();
108:
109: public void setSocket_ooBInline(boolean socket_ooBInline);
110:
111: public boolean getSocket_soReuseAddress();
112:
113: public void setSocket_soReuseAddress(boolean socket_soReuseAddress);
114:
115: public boolean getSocket_soLingerOn();
116:
117: public void setSocket_soLingerOn(boolean socket_soLingerOn);
118:
119: public int getSocket_soLingerTime();
120:
121: public void setSocket_soLingerTime(int socket_soLingerTime);
122:
123: public int getSocket_soTimeout();
124:
125: public void setSocket_soTimeout(int socket_soTimeout);
126:
127: public int getSocket_soTrafficClass();
128:
129: public void setSocket_soTrafficClass(int socket_soTrafficClass);
130:
131: public int getSocket_performanceConnectionTime();
132:
133: public void setSocket_performanceConnectionTime(
134: int socket_performanceConnectionTime);
135:
136: public int getSocket_performanceLatency();
137:
138: public void setSocket_performanceLatency(
139: int socket_performanceLatency);
140:
141: public int getSocket_performanceBandwidth();
142:
143: public void setSocket_performanceBandwidth(
144: int socket_performanceBandwidth);
145:
146: public int getSelectorPool_maxSelectors();
147:
148: public void setSelectorPool_maxSelectors(
149: int selectorPool_maxSelectors);
150:
151: public int getSelectorPool_maxSpareSelectors();
152:
153: public void setSelectorPool_maxSpareSelectors(
154: int selectorPool_maxSpareSelectors);
155:
156: public boolean getCommand_line_options();
157:
158: public void setCommand_line_options(boolean command_line_options);
159:
160: public int getOomParachute();
161:
162: public void setOomParachute(int oomParachute);
163:
164: }
|